]> git.notmuchmail.org Git - notmuch/commit
emacs: define a few variables as automatically buffer-local
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 10 Jan 2021 14:01:03 +0000 (15:01 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 15 Jan 2021 10:44:01 +0000 (06:44 -0400)
commit42d32713be9a23346de09b84983e1dd3b44b3400
treed3aa2c1a8abde14d54265c04513e393c8b0e1b1b
parentb614ea756316a18d90f5acfa352e82f2ffec8a67
emacs: define a few variables as automatically buffer-local

Define these variables as automatically buffer-local, meaning that
they always become buffer-local when set unless explicitly told
otherwise using `setq-default' or when using the Custom interface.

Previously they were declared, which keeps the byte-compiler quiet but
is not actually the same as being defined.  `notmuch-search-mode' then
made them buffer-local in the current buffer and then set the local
values.  This works but is not kosher.

The definitions of the three non-option variables have to be moved up
a bit to enable the change in the next commit, which see.
emacs/notmuch-lib.el
emacs/notmuch.el