Permalink
Browse files

* helm-grep.el (helm-c-grep-init): Fix callback.

  • Loading branch information...
1 parent aebdc2a commit 3ed0d491e6768c70c7551c24b07f8e74ec705813 @thierryvolpiatto thierryvolpiatto committed Jul 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 helm-grep.el
View
@@ -285,7 +285,7 @@ It is intended to use as a let-bound variable, DON'T set this globaly.")
(line-number-mode "%l") " "
(:eval (propertize
(format "[%s process finished - (%s results)] "
- (if zgrep
+ (if helm-grep-use-zgrep
"Zgrep"
(capitalize (if helm-grep-in-recurse
(helm-grep-command t)
@@ -296,7 +296,7 @@ It is intended to use as a let-bound variable, DON'T set this globaly.")
(force-mode-line-update))
;; Catch error output in log.
(helm-log "Error: %s %s"
- (if zgrep "Zgrep" "Grep")
+ (if helm-grep-use-zgrep "Zgrep" "Grep")
(replace-regexp-in-string "\n" "" event))))))))
(defun helm-c-grep-action (candidate &optional where mark)

0 comments on commit 3ed0d49

Please sign in to comment.