aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-lib.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-26 22:42:07 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-26 22:42:07 -0700
commita4669217600e4536dc0c49f0255af5e2d9bc183f (patch)
tree652b62e711e2cbe2e5cc458874bfccfb1a8af0d3 /emacs/notmuch-lib.el
parentfa5279113b8bc2d6f58d672867f980ef8f02a118 (diff)
emacs: Rip out all of the notmuch-folder code.
We are asserting that the new notmuch-hello implementation, (available by just calling `notmuch') is just as easy to use as the old notmuch-folder. So let's remove what's now a largely redundant implementation. To make this transition easier, we are still supporting the notmuch-folders variable name, and we still provide `notmuch-folder' as an alias which can be invoked to get the new notmuch-hello functionality.
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r--emacs/notmuch-lib.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 39eaf79b..f30bcb42 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -28,11 +28,6 @@
"Notmuch mail reader for Emacs."
:group 'mail)
-(defcustom notmuch-folders '(("inbox" . "tag:inbox") ("unread" . "tag:unread"))
- "List of searches for the notmuch folder view"
- :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
@@ -45,6 +40,9 @@
:type '(alist :key-type string :value-type string)
:group 'notmuch)
+(defvar notmuch-folders nil
+ "Deprecated name for what is now known as `notmuch-saved-searches'.")
+
(defun notmuch-saved-searches ()
"Common function for querying the notmuch-saved-searches variable.