cp-grep: Update following upstream change in counsel-more-chars
This commit is contained in:
parent
9c350a9c0f
commit
7751773cb2
1 changed files with 8 additions and 9 deletions
|
|
@ -579,8 +579,7 @@ construct the command.")
|
||||||
|
|
||||||
(defun counsel-projectile-grep-function (string)
|
(defun counsel-projectile-grep-function (string)
|
||||||
"Grep for STRING in the current project."
|
"Grep for STRING in the current project."
|
||||||
(if (< (length string) 3)
|
(or (counsel-more-chars)
|
||||||
(counsel-more-chars 3)
|
|
||||||
(let ((default-directory (ivy-state-directory ivy-last))
|
(let ((default-directory (ivy-state-directory ivy-last))
|
||||||
(regex (counsel-unquote-regex-parens
|
(regex (counsel-unquote-regex-parens
|
||||||
(setq ivy--old-re
|
(setq ivy--old-re
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue