* lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info

to avoid misleading the user.
This commit is contained in:
Stefan Monnier 2013-04-23 08:27:06 -04:00
parent 2325c82f63
commit 1d829c64d2
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
to avoid misleading the user.
2013-04-22 Leo Liu <sdl.web@gmail.com>
* info-look.el: Prefer latex2e.info. (Bug#14240)

View file

@ -638,8 +638,8 @@ If ARGS are provided, then pass MESSAGE through `format'."
(defun minibuffer-completion-contents ()
"Return the user input in a minibuffer before point as a string.
That used to be what completion commands operate on."
(declare (obsolete minibuffer-contents "24.4"))
In Emacs-22, that was what completion commands operated on."
(declare (obsolete nil "24.4"))
(buffer-substring (field-beginning) (point)))
(defun delete-minibuffer-contents ()