aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch-lib.el
diff options
context:
space:
mode:
authorDavid Edmondson <dme@dme.org>2010-04-26 16:07:04 +0100
committerCarl Worth <cworth@cworth.org>2010-04-26 10:37:35 -0700
commit98cf886120066c20d0f6a69c6dcfc50741badca5 (patch)
tree14c7e1ff8c3d10c0755f75ba581cb01e7584e7e5 /emacs/notmuch-lib.el
parent159b05fcaa8f9cf717bef74ca098d9567c85fe4c (diff)
emacs: `notmuch' should display the `notmuch-hello' interface
Reviewed-by: Carl Worth <cworth@cworth.org> The notmuch-hello functionality is now sufficiently useful that we want to make it the default view of notmuch for new users. This also effectively hides the "hello" name from the user, so we'll be free to change that in the implementation if necessary. This change also shuffles the requires between notmuch.el and notmuch-hello.el. This fixes things so that our documented (require 'notmuch) is sufficient for getting the notmuch-hello functionality. Finally, the shuffling caused the notmuch-search-oldest-first variable from one file to the other. While doing that, give this variable the defcustom treatment for easier customization.
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r--emacs/notmuch-lib.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 47c74b9..b64aeab 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -33,6 +33,11 @@
:type '(alist :key-type (string) :value-type (string))
:group 'notmuch)
+(defcustom notmuch-search-oldest-first t
+ "Show the oldest mail first when searching."
+ :type 'boolean
+ :group 'notmuch)
+
;;
(defun notmuch-version ()