Merge pull request #5026 from rbutoi/setq-default

use setq-default for notmuch-search-oldest-first
This commit is contained in:
Henrik Lissner 2021-05-10 04:57:45 -04:00 committed by GitHub
commit 68ba7e0f56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,6 @@ OR a shell command string such as
(setq notmuch-fcc-dirs nil (setq notmuch-fcc-dirs nil
message-kill-buffer-on-exit t message-kill-buffer-on-exit t
message-send-mail-function 'message-send-mail-with-sendmail message-send-mail-function 'message-send-mail-with-sendmail
notmuch-search-oldest-first nil
send-mail-function 'sendmail-send-it send-mail-function 'sendmail-send-it
;; sendmail-program "/usr/local/bin/msmtp" ;; sendmail-program "/usr/local/bin/msmtp"
notmuch-search-result-format notmuch-search-result-format
@ -60,6 +59,7 @@ OR a shell command string such as
(:name "sent" :query "tag:sent" :key "s") (:name "sent" :query "tag:sent" :key "s")
(:name "drafts" :query "tag:draft" :key "d")) (:name "drafts" :query "tag:draft" :key "d"))
notmuch-archive-tags '("-inbox" "-unread")) notmuch-archive-tags '("-inbox" "-unread"))
(setq-default notmuch-search-oldest-first nil)
;; only unfold unread messages in thread by default ;; only unfold unread messages in thread by default
(add-hook 'notmuch-show-hook #'+notmuch-show-expand-only-unread-h) (add-hook 'notmuch-show-hook #'+notmuch-show-expand-only-unread-h)