mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
emacs: update search sort order help to match code
This commit is contained in:
parent
2593df5271
commit
c1a42652a1
2 changed files with 8 additions and 12 deletions
|
@ -68,7 +68,12 @@
|
||||||
:group 'notmuch)
|
:group 'notmuch)
|
||||||
|
|
||||||
(defcustom notmuch-search-oldest-first t
|
(defcustom notmuch-search-oldest-first t
|
||||||
"Show the oldest mail first when searching."
|
"Show the oldest mail first when searching.
|
||||||
|
|
||||||
|
This variable defines the default sort order for displaying
|
||||||
|
search results. Note that any filtered searches created by
|
||||||
|
`notmuch-search-filter' retain the search order of the parent
|
||||||
|
search."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'notmuch-search)
|
:group 'notmuch-search)
|
||||||
|
|
||||||
|
|
|
@ -1008,17 +1008,8 @@ depending on the value of `notmuch-poll-script'."
|
||||||
(defun notmuch-search-toggle-order ()
|
(defun notmuch-search-toggle-order ()
|
||||||
"Toggle the current search order.
|
"Toggle the current search order.
|
||||||
|
|
||||||
By default, the \"inbox\" view created by `notmuch' is displayed
|
This command toggles the sort order for the current search. The
|
||||||
in chronological order (oldest thread at the beginning of the
|
default sort order is defined by `notmuch-search-oldest-first'."
|
||||||
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."
|
|
||||||
(interactive)
|
(interactive)
|
||||||
(set 'notmuch-search-oldest-first (not notmuch-search-oldest-first))
|
(set 'notmuch-search-oldest-first (not notmuch-search-oldest-first))
|
||||||
(notmuch-search-refresh-view))
|
(notmuch-search-refresh-view))
|
||||||
|
|
Loading…
Reference in a new issue