Function: minibuffer-completion-contents
minibuffer-completion-contents is a byte-compiled function defined in
minibuffer.el.gz.
This function is obsolete since 24.4.
Signature
(minibuffer-completion-contents)
Documentation
Return the user input in a minibuffer before point as a string.
In Emacs 22, that was what completion commands operated on. If the current buffer is not a minibuffer, return everything before point.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun minibuffer-completion-contents ()
"Return the user input in a minibuffer before point as a string.
In Emacs 22, that was what completion commands operated on.
If the current buffer is not a minibuffer, return everything before point."
(declare (obsolete nil "24.4"))
(buffer-substring (minibuffer-prompt-end) (point)))