]> git.notmuchmail.org Git - notmuch/commit
emacs: separate history for operations which accept single and multiple tags
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sun, 5 Feb 2012 07:13:49 +0000 (11:13 +0400)
committerDavid Bremner <bremner@debian.org>
Wed, 8 Feb 2012 15:18:37 +0000 (11:18 -0400)
commit904eafaefc356b654842ff59de6afc17f24ccf17
tree95bc9f0dbab59061bf38a6d456036bba4478573c
parent26d5b0efe4160b789670fbb059bea4630a352212
emacs: separate history for operations which accept single and multiple tags

Some tag-related operations accept a single tag without prefix
(`notmuch-select-tag-with-completion'), others accept multiple tags
prefixed with '+' or '-' (`notmuch-read-tag-changes').  Before the
change, both functions used a single default minibuffer history.  This
is inconvenient because you have to skip options with incompatible
format when going through the history.  The patch adds separate
history lists for the two functions.  Note that functions that accept
the same input format (e.g. "+", "-", "*") share the history list as
before.
emacs/notmuch.el