diff options
| author | Stefan Monnier | 2013-04-23 08:27:06 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-04-23 08:27:06 -0400 |
| commit | 1d829c64d28693a09ca6ec7ddc188c6ae7ba0df0 (patch) | |
| tree | d547517a66e271b461bc22d1b7bed5a6b06532e0 | |
| parent | 2325c82f631e5432c3d00ff7781ffe145674163a (diff) | |
| download | emacs-1d829c64d28693a09ca6ec7ddc188c6ae7ba0df0.tar.gz emacs-1d829c64d28693a09ca6ec7ddc188c6ae7ba0df0.zip | |
* lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
to avoid misleading the user.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 4 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-04-22 Leo Liu <sdl.web@gmail.com> | 6 | 2013-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. |
| 641 | That used to be what completion commands operate on." | 641 | In 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 () |