mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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.
This commit is contained in:
parent
a12bf2a52a
commit
5b19e6e1b4
2 changed files with 8 additions and 8 deletions
|
@ -1133,7 +1133,7 @@ The arguments are:
|
|||
(inhibit-read-only t))
|
||||
(pop-to-buffer-same-window buffer))
|
||||
;; Don't track undo information for this buffer
|
||||
(set 'buffer-undo-list t)
|
||||
(setq buffer-undo-list t)
|
||||
(notmuch-tree-worker query query-context target open-target unthreaded)
|
||||
(setq notmuch-tree-parent-buffer parent-buffer)
|
||||
(setq truncate-lines t))
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue