branch: master
commit f98f89f1bd90e8165c776efe47bb6c8c7377c5a2
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    counsel.el (counsel-yank-pop): Don't restrict to 3 chars or more
    
    Fixes #973
---
 counsel.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 200858d..3545269 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2409,8 +2409,7 @@ Additional Actions:
          (mapcar #'ivy-cleanup-string
                  (cl-remove-if
                   (lambda (s)
-                    (or (< (length s) 3)
-                        (string-match "\\`[\n[:blank:]]+\\'" s)))
+                    (string-match "\\`[\n[:blank:]]+\\'" s))
                   (delete-dups kill-ring)))))
     (let ((ivy-format-function #'counsel--yank-pop-format-function)
           (ivy-height 5))

Reply via email to