diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-11-16 22:28:39 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-12-06 16:22:33 -0400 |
| commit | b4ee80dcbdd6702a693110321ad69c380967846d (patch) | |
| tree | 18714ad3fffb0ccc7bd899830d62739e5f015e5e /emacs/notmuch.el | |
| parent | 9fadab4e63afcc2adf06eac964da8bc8e5c9cd47 (diff) | |
emacs: use setq-local
It is available since Emacs 24.3 and we require at least Emacs 25.
It makes the variable buffer-local if it isn't always buffer-local
anyway.
Diffstat (limited to 'emacs/notmuch.el')
| -rw-r--r-- | emacs/notmuch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 3ca27b26..95770fc3 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -391,7 +391,7 @@ Complete list of currently available key bindings: (make-local-variable 'notmuch-search-target-thread) (make-local-variable 'notmuch-search-target-line) (setq notmuch-buffer-refresh-function #'notmuch-search-refresh-view) - (set (make-local-variable 'scroll-preserve-screen-position) t) + (setq-local scroll-preserve-screen-position t) (add-to-invisibility-spec (cons 'ellipsis t)) (setq truncate-lines t) (setq buffer-read-only t) |
