diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-01-10 15:00:37 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-01-13 06:56:40 -0400 |
| commit | 5b19e6e1b4dc0ef13b5662707e097a740f9dc8a2 (patch) | |
| tree | 568a7b0bd59e8d697610a3276f4c95b91a8ca924 /emacs/notmuch.el | |
| parent | a12bf2a52a560cc27503add26e9c3087929b60ec (diff) | |
emacs: use setq instead of set
Commonly `set' is only used if there is no way around it;
i.e. when the variable cannot be known until runtime.
Diffstat (limited to 'emacs/notmuch.el')
| -rw-r--r-- | emacs/notmuch.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 132e7724..bba4ca03 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -693,7 +693,7 @@ of the result." (throw 'return nil)) (when (and atbob (not (string= notmuch-search-target-thread "found"))) - (set 'never-found-target-thread t))))) + (setq never-found-target-thread t))))) (when (and never-found-target-thread notmuch-search-target-line) (goto-char (point-min)) @@ -996,11 +996,11 @@ the configured default sort order." (pop-to-buffer-same-window buffer)) (notmuch-search-mode) ;; Don't track undo information for this buffer - (set 'buffer-undo-list t) - (set 'notmuch-search-query-string query) - (set 'notmuch-search-oldest-first oldest-first) - (set 'notmuch-search-target-thread target-thread) - (set 'notmuch-search-target-line target-line) + (setq buffer-undo-list t) + (setq notmuch-search-query-string query) + (setq notmuch-search-oldest-first oldest-first) + (setq notmuch-search-target-thread target-thread) + (setq notmuch-search-target-line target-line) (notmuch-tag-clear-cache) (let ((proc (get-buffer-process (current-buffer))) (inhibit-read-only t)) @@ -1048,7 +1048,7 @@ same relative position within the new buffer." This command toggles the sort order for the current search. The default sort order is defined by `notmuch-search-oldest-first'." (interactive) - (set 'notmuch-search-oldest-first (not notmuch-search-oldest-first)) + (setq notmuch-search-oldest-first (not notmuch-search-oldest-first)) (notmuch-search-refresh-view)) (defun notmuch-group-disjunctive-query-string (query-string) |
