summaryrefslogtreecommitdiff
path: root/lisp/minibuffer.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r--lisp/minibuffer.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 9c252134692..93a222053f6 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1163,7 +1163,9 @@ Currently supported properties are:
`:annotation-function' the value to use for `completion-annotate-function'.")
(defun completion-at-point ()
- "Complete the thing at point according to local mode."
+ "Complete the thing at point according to local mode.
+This runs the hook `completion-at-point-functions' until a member returns
+non-nil."
(interactive)
(let ((res (run-hook-with-args-until-success
'completion-at-point-functions)))