From 9d7f8c359e72d3b6838aba3e8a1ee6360361c08c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 13 Aug 2018 19:14:30 +0200 Subject: [PATCH] Add docstrings to helm project search commands --- modules/completion/helm/autoload/helm.el | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/modules/completion/helm/autoload/helm.el b/modules/completion/helm/autoload/helm.el index 40b91513a..c9d8162d2 100644 --- a/modules/completion/helm/autoload/helm.el +++ b/modules/completion/helm/autoload/helm.el @@ -211,9 +211,22 @@ ones." (lambda (all-files-p &optional query directory) (interactive "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)) (lambda (all-files-p &optional query directory) (interactive "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)))