Add docstrings to helm project search commands

This commit is contained in:
Henrik Lissner 2018-08-13 19:14:30 +02:00
parent 77408ff12f
commit 9d7f8c359e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -211,9 +211,22 @@ ones."
(lambda (all-files-p &optional query directory) (lambda (all-files-p &optional query directory)
(interactive "P") (interactive "P")
(+helm-file-search engine :query query :in directory :all-files all-files-p)) (+helm-file-search engine :query query :in directory :all-files all-files-p))
"TODO") (format "Perform a project file search using %s.
QUERY is a regexp. If omitted, the current selection is used. If no selection is
active, the last known search is used.
If ALL-FILES-P, search compressed and hidden files as well."
engine))
(defalias (intern (format "+helm/%s-from-cwd" engine)) (defalias (intern (format "+helm/%s-from-cwd" engine))
(lambda (all-files-p &optional query directory) (lambda (all-files-p &optional query directory)
(interactive "P") (interactive "P")
(+helm-file-search engine :query query :in default-directory :all-files all-files-p)) (+helm-file-search engine :query query :in default-directory :all-files all-files-p))
"TODO")) (format "Perform a project file search from the current directory using %s.
QUERY is a regexp. If omitted, the current selection is used. If no selection is
active, the last known search is used.
If ALL-FILES-P, search compressed and hidden files as well."
engine)))