From bc267b70b01c79f6bdda52641e9cd7574a151eff Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Wed, 25 Jan 2012 05:10:53 +0400 Subject: 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. --- emacs/notmuch-lib.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs/notmuch-lib.el') 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) -- cgit v1.2.3