diff options
author | David Bremner <david@tethera.net> | 2014-05-28 09:50:32 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-05-28 09:50:32 -0300 |
commit | 94064a6ba2f67005352915dc01c6eb0e19b761f9 (patch) | |
tree | 61f9fc6c78daafa39a93cdcd9336d246b240bd48 /emacs/notmuch-tag.el | |
parent | ec020894331b0ef9b594cdc47f4b79abeda4f9cd (diff) | |
parent | 90f9a5e65e8dab3fad0a60530d3ffc582f1b1a93 (diff) |
Merge branch 'release'
A point release is slowly being built on branch release. Merge those
changes into master.
Diffstat (limited to 'emacs/notmuch-tag.el')
-rw-r--r-- | emacs/notmuch-tag.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el index 07c260eb..f54aa9d6 100644 --- a/emacs/notmuch-tag.el +++ b/emacs/notmuch-tag.el @@ -387,6 +387,8 @@ notmuch-after-tag-hook will be run." (unless (string-match-p "^[-+]\\S-+$" tag-change) (error "Tag must be of the form `+this_tag' or `-that_tag'"))) tag-changes) + (unless query + (error "Nothing to tag!")) (unless (null tag-changes) (run-hooks 'notmuch-before-tag-hook) (if (<= (length query) notmuch-tag-argument-limit) |