branch: elpa/elfeed
commit 65c54b274edf49db6d2dac887ef0d0228d4a087c
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    elfeed-search--prompt-tags: Only use initial input if entries are given
---
 elfeed-search.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elfeed-search.el b/elfeed-search.el
index ba51a13ff9..714ff8ef27 100644
--- a/elfeed-search.el
+++ b/elfeed-search.el
@@ -748,7 +748,7 @@ tags from."
                 (elfeed-db-get-all-tags))
               (user-error "No tags found")))
          (all-tags (mapcar #'symbol-name all-tags))
-         (initial (and (length= all-tags 1) (car all-tags)))
+         (initial (and entries (length= all-tags 1) (car all-tags)))
          (tags (if elfeed-search-completion
                    (completing-read-multiple
                     prompt

Reply via email to