emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-hydra 6ed0ad4 032/395: counsel.el (counsel-ag): Set


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 6ed0ad4 032/395: counsel.el (counsel-ag): Set :require-match to t.
Date: Thu, 25 Feb 2021 08:31:25 -0500 (EST)

branch: externals/ivy-hydra
commit 6ed0ad4508d6cf2aa07389214b09bf00f18bee07
Author: Hong Xu <hong@topbug.net>
Commit: Hong Xu <hong@topbug.net>

    counsel.el (counsel-ag): Set :require-match to t.
    
    But Strangely I can still select the prompt. A better solution, I think, 
might be to set :require-match to t
    for all callers that have set :grep-p to t.
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index 1faea89..a2f0062 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2863,6 +2863,7 @@ CALLER is passed to `ivy-read'."
               :keymap counsel-ag-map
               :history 'counsel-git-grep-history
               :action #'counsel-git-grep-action
+              :require-match t
               :caller (or caller 'counsel-ag))))
 
 (ivy-configure 'counsel-ag



reply via email to

[Prev in Thread] Current Thread [Next in Thread]