Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Require helm-mode in many places for *read-file-name.

* helm-locate.el
* helm-grep.el
  • Loading branch information...
commit f3d6825bd057e1e575533cba73827a7da93bffaa 1 parent 4ea1706
@thierryvolpiatto thierryvolpiatto authored
Showing with 4 additions and 1 deletion.
  1. +3 −0  helm-grep.el
  2. +1 −1  helm-locate.el
3  helm-grep.el
@@ -776,6 +776,7 @@ If a prefix arg is given use the -r option of grep.
The prefix arg can be passed before or after start.
See also `helm-do-grep-1'."
+ (require 'helm-mode)
(let ((only (helm-c-read-file-name
"Search in file(s): "
:marked-candidates t
@@ -788,6 +789,7 @@ See also `helm-do-grep-1'."
(defun helm-do-zgrep ()
"Preconfigured helm for zgrep."
+ (require 'helm-mode)
(let ((prefarg (or current-prefix-arg helm-current-prefix-arg))
(ls (helm-c-read-file-name
"Search in file(s): "
@@ -800,6 +802,7 @@ See also `helm-do-grep-1'."
(defun helm-do-pdfgrep ()
"Preconfigured helm for pdfgrep."
+ (require 'helm-mode)
(let ((only (helm-c-read-file-name
"Search in file(s): "
:marked-candidates t
2  helm-locate.el
@@ -23,7 +23,6 @@
(eval-when-compile (require 'cl))
(require 'helm)
-;(require 'helm-mode)
(defgroup helm-locate nil
@@ -106,6 +105,7 @@ fall back to `default-directory' if FROM-FF is nil."
if LOCALDB is non--nil search and use a local locate db file.
INIT is a string to use as initial input in prompt.
See `helm-locate-with-db' and `helm-locate'."
+ (require 'helm-mode)
(and localdb
(or (helm-ff-find-locatedb from-ff)
Please sign in to comment.
Something went wrong with that request. Please try again.