Skip to content

Commit

Permalink
Fix some docstrings.
Browse files Browse the repository at this point in the history
* helm-files.el (helm-multi-files):                    Do it.
* helm-locate.el (helm-locate-recursive-dirs-command): Do it.
  • Loading branch information
Thierry Volpiatto committed Mar 16, 2017
1 parent eed7ba6 commit 7d77db8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 6 additions & 4 deletions helm-files.el
Original file line number Diff line number Diff line change
Expand Up @@ -3799,10 +3799,12 @@ Run all sources defined in `helm-for-files-preferred-list'."

;;;###autoload
(defun helm-multi-files ()
"Preconfigured helm similar to `helm-for-files' but that don't run locate.
Allow toggling from locate to others sources.
This allow seeing first if what you search is in other sources before launching
locate."
"Preconfigured helm like `helm-for-files' but running locate only on demand.
Allow toggling back and forth from locate to others sources with
`helm-multi-files-toggle-locate-binding' key.
This avoid launching needlessly locate when what you search is already
found."
(interactive)
(unless helm-source-buffers-list
(setq helm-source-buffers-list
Expand Down
9 changes: 7 additions & 2 deletions helm-locate.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,16 @@ directories of this list with `helm-projects-find-files'."
:type '(repeat string))

(defcustom helm-locate-recursive-dirs-command "locate -i -e -A --regex '^%s' '%s.*$'"
"Command used in recursive directories completion in `helm-find-files'.
"Command used for recursive directories completion in `helm-find-files'.
For Windows and `es' use something like \"es -r ^%s.*%s.*$\"
The two format specs are mandatory."
The two format specs are mandatory.
If for some reasons you can't use locate because your filesystem
doesn't have a data base, you can use find command from findutils but
be aware that it will be much slower, see `helm-find-files' embebded
help for more infos."
:type 'string
:group 'helm-files)

Expand Down

0 comments on commit 7d77db8

Please sign in to comment.