X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=f3ce840028ec8b62bf437a9ec3f63f42ebb17977;hb=e3c2be3e255f2845f6c6b45da96064e2bba681da;hp=7994d742f7fc702ef77843af4efbefa4a2bd5da3;hpb=915a707ae482253ea93b13f854153f98dca0d563;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 7994d742..f3ce8400 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -821,8 +821,7 @@ non-authors is found, assume that all of the authors match." (parse-buf (process-get proc 'parse-buf)) (inhibit-read-only t) done) - (if (not (buffer-live-p results-buf)) - (delete-process proc) + (when (buffer-live-p results-buf) (with-current-buffer parse-buf ;; Insert new data (save-excursion @@ -1009,17 +1008,8 @@ depending on the value of `notmuch-poll-script'." (defun notmuch-search-toggle-order () "Toggle the current search order. -By default, the \"inbox\" view created by `notmuch' is displayed -in chronological order (oldest thread at the beginning of the -buffer), while any global searches created by `notmuch-search' -are displayed in reverse-chronological order (newest thread at -the beginning of the buffer). - -This command toggles the sort order for the current search. - -Note that any filtered searches created by -`notmuch-search-filter' retain the search order of the parent -search." +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)) (notmuch-search-refresh-view))