branch: elpa/helm
commit 79d235c8c3180a092a464b98106a79bc210a155a
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix helm-preselect docstring
---
helm-core.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/helm-core.el b/helm-core.el
index f9f9ac1e93..9e775180c7 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -6521,7 +6521,7 @@ This is the default function for `helm-debug-function'."
;; Misc
(defun helm-preselect (candidate-or-regexp &optional source)
- "Move selection to CANDIDATE-OR-REGEXP on Helm start.
+ "Move selection to CANDIDATE-OR-REGEXP.
CANDIDATE-OR-REGEXP can be a:
@@ -6530,10 +6530,11 @@ CANDIDATE-OR-REGEXP can be a:
- Nullary function, which moves to a candidate
When CANDIDATE-OR-REGEXP is a cons cell, tries moving to first
-element of the cons cell, then the second, and so on. This allows
-selection of duplicate candidates after the first.
+element of the cons cell, then the second, and so on. This
+allows selection of duplicate candidates after the first.
-Optional argument SOURCE is a Helm source object."
+When SOURCE is specified, move to it and search
+CANDIDATE-OR-REGEXP from there."
(with-helm-buffer
(when candidate-or-regexp
(if source