projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ad237
)
emacs: have tag-completion return all tags for nil input
author
Jameson Graef Rollins
<jrollins@finestructure.net>
Mon, 9 Apr 2012 18:36:18 +0000
(11:36 -0700)
committer
David Bremner
<bremner@debian.org>
Thu, 12 Apr 2012 18:34:49 +0000
(15:34 -0300)
Previously the function would fail if the initial input was nil. Now
it will return a list of all tags, which obviously makes much more
sense.
emacs/notmuch.el
patch
|
blob
|
history
diff --git
a/emacs/notmuch.el
b/emacs/notmuch.el
index 8b483995cf7f660099e9e2bda7c1bd6c721d9380..ba833e642e82efc5a30a019b953f154f206e4feb 100644
(file)
--- a/
emacs/notmuch.el
+++ b/
emacs/notmuch.el
@@
-85,6
+85,8
@@
For example:
`notmuch-read-tag-changes' function.")
(defun notmuch-tag-completions (&optional search-terms)
+ (if (null search-terms)
+ (setq search-terms (list "*")))
(split-string
(with-output-to-string
(with-current-buffer standard-output