ivy: Fix counsel-git-grep-region-or-symbol
This commit is contained in:
parent
e94a80db49
commit
19c262ea0c
|
@ -199,6 +199,7 @@ that directory."
|
|||
(defun spacemacs/counsel-git-grep-region-or-symbol ()
|
||||
"Use `counsel-git-grep' to search for the selected region or
|
||||
the symbol around point in the current project with git grep."
|
||||
(interactive)
|
||||
(let ((input (if (region-active-p)
|
||||
(buffer-substring-no-properties
|
||||
(region-beginning) (region-end))
|
||||
|
|
Loading…
Reference in a new issue