notmuch/emacs
Jonas Bernoulli 0251cab3ab Revert "emacs: notmuch-search: avoid wiping out buffer-local variables"
This reverts commit f9fbd1ee3b.

Emacs provides a mechanism for avoiding wiping out buffer-local
variables: marking them as "permanent local", which essentially
means "don't wip out the local value when enabling major-mode".

  (put 'the-variable 'permanent-local t)

See (info "(elisp)Creating Buffer-Local").

Whether refreshing the buffer contents should involve re-enable the
mode is a different question, which should not be decided based on
the fact that we want keep the value of some random variable, not
least because some other (e.g. cache) variables are likely expected
to be wiped.
2020-12-25 14:32:56 -04:00
..
.gitignore emacs: build docstring (rsti) files 2018-12-08 08:49:31 -04:00
coolj.el emacs: use defvar-local 2020-12-06 16:22:18 -04:00
make-deps.el emacs: Increase consistency of library headers 2020-08-09 21:14:36 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local emacs: Use makefile-gmake-mode in Makefile*s 2020-08-09 21:14:36 -03:00
notmuch-address.el emacs: remove unused notmuch-address-locate-command 2020-12-06 16:21:07 -04:00
notmuch-company.el emacs: use setq-local 2020-12-06 16:22:33 -04:00
notmuch-compat.el emacs: more cleanup since dropping support for Emacs 24 2020-12-06 16:18:20 -04:00
notmuch-crypto.el emacs: misc doc-string improvements 2020-12-06 16:20:28 -04:00
notmuch-draft.el emacs: do not quote self-quoting t 2020-12-06 16:23:11 -04:00
notmuch-emacs-mua notmuch-emacs-mua: add --hello parameter 2016-11-26 08:15:11 -04:00
notmuch-emacs-mua.desktop emacs: add keywords to notmuch-emacs-mua.desktop 2019-06-29 21:06:18 +02:00
notmuch-hello.el emacs: remove unnecessary notmuch-remove-if-not 2020-12-06 16:20:57 -04:00
notmuch-jump.el emacs: more cleanup since dropping support for Emacs 24 2020-12-06 16:18:20 -04:00
notmuch-lib.el emacs: use defvar-local 2020-12-06 16:22:18 -04:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el emacs: do not quote self-quoting t 2020-12-06 16:23:11 -04:00
notmuch-message.el emacs: Shorten long lines 2020-08-09 19:48:36 -03:00
notmuch-mua.el emacs: do not quote self-quoting t 2020-12-06 16:23:11 -04:00
notmuch-parser.el emacs: use setq-local 2020-12-06 16:22:33 -04:00
notmuch-pkg.el.tmpl NEWS: At least Emacs 25.1 is required now 2020-08-09 21:14:36 -03:00
notmuch-print.el emacs: Increase consistency of library headers 2020-08-09 21:14:36 -03:00
notmuch-query.el emacs: Improve doc-strings 2020-08-09 21:14:36 -03:00
notmuch-show.el emacs: do not quote self-quoting t 2020-12-06 16:23:11 -04:00
notmuch-tag.el emacs: do not quote self-quoting t 2020-12-06 16:23:11 -04:00
notmuch-tree.el emacs: avoid binding unnamed commands in keymaps 2020-12-06 16:23:38 -04:00
notmuch-version.el.tmpl emacs: Increase consistency of library headers 2020-08-09 21:14:36 -03:00
notmuch-wash.el emacs: Use 'when' instead of 'if' when there is no ELSE part 2020-08-09 20:52:34 -03:00
notmuch.el Revert "emacs: notmuch-search: avoid wiping out buffer-local variables" 2020-12-25 14:32:56 -04:00
rstdoc.el emacs docs: rstdoc.el: consistent single quote conversions 2020-10-21 06:55:39 -03:00
rstdoc.rsti emacs: initial version of rstdoc.el 2018-12-08 08:45:48 -04:00