branch: externals/ivy-hydra
commit 6ed0ad4508d6cf2aa07389214b09bf00f18bee07
Author: Hong Xu <[email protected]>
Commit: Hong Xu <[email protected]>
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