]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: use setq-local
[notmuch] / emacs / notmuch.el
index 3ca27b26f866d298a125c0eff376a23f8092d757..95770fc3034e067ca4ec2cf39773b14be9527b3b 100644 (file)
@@ -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)