ivy: Fix counsel-git-grep-region-or-symbol

This commit is contained in:
justbur 2016-02-10 20:22:50 -05:00 committed by syl20bnr
parent e94a80db49
commit 19c262ea0c

View file

@ -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))