aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2013-06-03 20:56:31 +0300
committerGravatar David Bremner <bremner@debian.org>2013-06-24 22:51:37 -0700
commitc1a42652a173a4bb70ab72388e6ad150d19a2b06 (patch)
tree3347be27538df623b7bea6240349d101ab1ae024 /emacs
parent2593df527168ad3502f0d44f4feae76133fc271b (diff)
emacs: update search sort order help to match code
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-lib.el7
-rw-r--r--emacs/notmuch.el13
2 files changed, 8 insertions, 12 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 534f2177..79a1290d 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -68,7 +68,12 @@
:group 'notmuch)
(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
:group 'notmuch-search)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index a9949a14..f3ce8400 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -1008,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))