* lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Apr 2013 12:27:06 +0000 (08:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Apr 2013 12:27:06 +0000 (08:27 -0400)
to avoid misleading the user.

lisp/ChangeLog
lisp/minibuffer.el

index b0cad64..f538764 100644 (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)
index 978b3a5..ef949f7 100644 (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 ()