X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=83bcee57c675bce1959275315a782c4319c9622a;hb=fef433f30700445ce04ff702681e81e979cc307a;hp=8132cea66b618355f4eedd6313bdce25aa27ee9b;hpb=189175ecd6fde78ded219a4bc6dd7b649564c30f;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 8132cea6..83bcee57 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -275,10 +275,10 @@ there will be called at other points of notmuch execution." (defface notmuch-message-summary-face `((((class color) (background light)) ,@(and (>= emacs-major-version 27) '(:extend t)) - (:background "#f0f0f0")) + :background "#f0f0f0") (((class color) (background dark)) ,@(and (>= emacs-major-version 27) '(:extend t)) - (:background "#303030"))) + :background "#303030")) "Face for the single-line message summary in notmuch-show-mode." :group 'notmuch-show :group 'notmuch-faces) @@ -994,7 +994,7 @@ the configured default sort order." (buffer (get-buffer-create (notmuch-search-buffer-title query)))) (if no-display (set-buffer buffer) - (switch-to-buffer buffer)) + (pop-to-buffer-same-window buffer)) ;; avoid wiping out third party buffer-local variables in the case ;; where we're just refreshing or changing the sort order of an ;; existing search results buffer @@ -1134,7 +1134,7 @@ notmuch buffers exist, run `notmuch'." ;; If the first one we found is any other than the starting ;; buffer, switch to it. (unless (eq first start) - (switch-to-buffer first)) + (pop-to-buffer-same-window first)) (notmuch)))) ;;;; Imenu Support