aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/minibuffer.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 4d14b2641f3..ef0d40790c5 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -729,7 +729,8 @@ If ARGS are provided, then pass MESSAGE through `format-message'."
729 729
730(defun minibuffer-completion-contents () 730(defun minibuffer-completion-contents ()
731 "Return the user input in a minibuffer before point as a string. 731 "Return the user input in a minibuffer before point as a string.
732In Emacs-22, that was what completion commands operated on." 732In Emacs 22, that was what completion commands operated on.
733If the current buffer is not a minibuffer, return everything before point."
733 (declare (obsolete nil "24.4")) 734 (declare (obsolete nil "24.4"))
734 (buffer-substring (minibuffer-prompt-end) (point))) 735 (buffer-substring (minibuffer-prompt-end) (point)))
735 736