diff options
| author | Glenn Morris | 2018-02-08 13:32:35 -0500 |
|---|---|---|
| committer | Glenn Morris | 2018-02-08 13:32:35 -0500 |
| commit | d34dbc0b69b288ee5e969208ab05b00a3fcc7638 (patch) | |
| tree | c59cc566453a15f244911bbcb4ef9561d8541bc4 /lisp | |
| parent | a710f8aa61ca73054109dc4f926d1ac6aabdd849 (diff) | |
| download | emacs-d34dbc0b69b288ee5e969208ab05b00a3fcc7638.tar.gz emacs-d34dbc0b69b288ee5e969208ab05b00a3fcc7638.zip | |
Remove unused duplicate of minibuffer-completion-contents
* src/minibuf.c (Fminibuffer_completion_contents): Remove.
Unused since introduction of minubuffer.el 2008-04-09.
(syms_of_minibuf): Remove Sminibuffer_completion_contents.
* lisp/minibuffer.el (minibuffer-completion-contents): Doc tweak.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/minibuffer.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 4d14b2641f3..ef0d40790c5 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -729,7 +729,8 @@ If ARGS are provided, then pass MESSAGE through `format-message'." | |||
| 729 | 729 | ||
| 730 | (defun minibuffer-completion-contents () | 730 | (defun minibuffer-completion-contents () |
| 731 | "Return the user input in a minibuffer before point as a string. | 731 | "Return the user input in a minibuffer before point as a string. |
| 732 | In Emacs-22, that was what completion commands operated on." | 732 | In Emacs 22, that was what completion commands operated on. |
| 733 | If the current buffer is not a minibuffer, return everything before point." | ||
| 733 | (declare (obsolete nil "24.4")) | 734 | (declare (obsolete nil "24.4")) |
| 734 | (buffer-substring (minibuffer-prompt-end) (point))) | 735 | (buffer-substring (minibuffer-prompt-end) (point))) |
| 735 | 736 | ||