summaryrefslogtreecommitdiff
path: root/helm-regexp.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-04-12 06:41:45 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-04-12 06:41:45 +0200
commit5fdbdb2ba4da2d10b3cea6f9113da4b270468d9a (patch)
tree38edbe6eda724c8dbbb5139698449733c7ec505a /helm-regexp.el
parent6ddc80a5ae303c275d60046358dfefc08f8f01d2 (diff)
Docstring and helm doc change only
* helm-help.el (helm-moccur-help-message): Update. * helm-regexp.el (helm-occur): Improve docstring.
Diffstat (limited to 'helm-regexp.el')
-rw-r--r--helm-regexp.el16
1 files changed, 15 insertions, 1 deletions
diff --git a/helm-regexp.el b/helm-regexp.el
index b8cf3d7b..f0edbbcd 100644
--- a/helm-regexp.el
+++ b/helm-regexp.el
@@ -653,7 +653,21 @@ Special commands:
;;;###autoload
(defun helm-occur ()
- "Preconfigured helm for Occur."
+ "Preconfigured helm for searching lines matching pattern in `current-buffer'.
+
+When `helm-source-occur' is member of
+`helm-sources-using-default-as-input' which is the default,
+symbol at point is searched at startup.
+
+When a region is marked search only in this region by narrowing.
+
+To search in multiples buffers start from one of the commands listing
+buffers (i.e. a helm command using `helm-source-buffers-list' like
+`helm-mini') and use the multi occur buffers action.
+
+This is the helm implementation that collect lines matching pattern
+like vanilla emacs `occur' but have nothing to do with it, the search
+engine beeing completely different."
(interactive)
(helm-occur-init-source)
(let ((bufs (list (buffer-name (current-buffer)))))