diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-07-05 17:31:29 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-07-05 17:31:29 +0200 |
commit | 6058ee8c4d103dfd2a5d261c9f3f198e0234ed76 (patch) | |
tree | f5b19e09858c9fc1435644f7c0dfd6df7a95502a | |
parent | f07e624e58b1f1350279fc5c8012b3dda2bf6d93 (diff) |
Ensure candidate is a string in grep filter.
-rw-r--r-- | helm-grep.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-grep.el b/helm-grep.el index f1ab0972..ce4b8a69 100644 --- a/helm-grep.el +++ b/helm-grep.el @@ -997,7 +997,8 @@ in recurse, and ignoring EXTS, search being made on default-directory))))) (if (consp candidate) (helm-grep--filter-candidate-1 (cdr candidate)) - (helm-grep--filter-candidate-1 candidate)))) + (and (stringp candidate) + (helm-grep--filter-candidate-1 candidate))))) (defun helm-grep-highlight-match (str &optional multi-match) "Highlight in string STR all occurences matching `helm-pattern'." |