aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-04-23 08:27:06 -0400
committerStefan Monnier2013-04-23 08:27:06 -0400
commit1d829c64d28693a09ca6ec7ddc188c6ae7ba0df0 (patch)
treed547517a66e271b461bc22d1b7bed5a6b06532e0
parent2325c82f631e5432c3d00ff7781ffe145674163a (diff)
downloademacs-1d829c64d28693a09ca6ec7ddc188c6ae7ba0df0.tar.gz
emacs-1d829c64d28693a09ca6ec7ddc188c6ae7ba0df0.zip
* lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
to avoid misleading the user.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/minibuffer.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b0cad6454c3..f538764f909 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
4 to avoid misleading the user.
5
12013-04-22 Leo Liu <sdl.web@gmail.com> 62013-04-22 Leo Liu <sdl.web@gmail.com>
2 7
3 * info-look.el: Prefer latex2e.info. (Bug#14240) 8 * info-look.el: Prefer latex2e.info. (Bug#14240)
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 978b3a5b130..ef949f7482e 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -638,8 +638,8 @@ If ARGS are provided, then pass MESSAGE through `format'."
638 638
639(defun minibuffer-completion-contents () 639(defun minibuffer-completion-contents ()
640 "Return the user input in a minibuffer before point as a string. 640 "Return the user input in a minibuffer before point as a string.
641That used to be what completion commands operate on." 641In Emacs-22, that was what completion commands operated on."
642 (declare (obsolete minibuffer-contents "24.4")) 642 (declare (obsolete nil "24.4"))
643 (buffer-substring (field-beginning) (point))) 643 (buffer-substring (field-beginning) (point)))
644 644
645(defun delete-minibuffer-contents () 645(defun delete-minibuffer-contents ()