diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2012-01-25 05:10:53 +0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-01-25 08:33:39 -0400 |
commit | bc267b70b01c79f6bdda52641e9cd7574a151eff (patch) | |
tree | c1a58bde12630d315b2b98b6a128937290a2fd8e /emacs/notmuch-lib.el | |
parent | 02d88159226b351091ae94e2176d2e59c79d21d3 (diff) |
emacs: use a single history for all searches
There are two ways to do search in Emacs UI: search widget in
notmuch-hello buffer and `notmuch-search' function bound to "s".
Before the change, these search mechanisms used different history
lists. The patch makes notmuch-hello search use the same history list
as `notmuch-search' function.
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r-- | emacs/notmuch-lib.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 241fe8c4..c906ca76 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -69,6 +69,9 @@ ;; +(defvar notmuch-search-history nil + "Variable to store notmuch searches history.") + (defcustom notmuch-saved-searches nil "A list of saved searches to display." :type '(alist :key-type string :value-type string) |