X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-tag.el;h=1067f18513018802607276ae92edb4b2654adc0b;hb=09f6533c3781b61ea634790d4bad38aadf89115c;hp=2fcf5a9e9fa65073a9bf0f71b839ce8af3dfc2c1;hpb=caaa10876046096320f4e69053542eabe17e7e55;p=notmuch diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el index 2fcf5a9e..1067f185 100644 --- a/emacs/notmuch-tag.el +++ b/emacs/notmuch-tag.el @@ -382,8 +382,8 @@ the messages that were tagged." "Return a list of tags for messages matching SEARCH-TERMS. Returns all tags if no search terms are given." - (if (null search-terms) - (setq search-terms (list "*"))) + (unless search-terms + (setq search-terms (list "*"))) (split-string (with-output-to-string (with-current-buffer standard-output