diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index cbb0898a9ab..95e62ceddab 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -325,19 +325,6 @@ If the current buffer is not a minibuffer, return its entire contents. */) | |||
| 325 | return make_buffer_string (prompt_end, ZV, 0); | 325 | return make_buffer_string (prompt_end, ZV, 0); |
| 326 | } | 326 | } |
| 327 | 327 | ||
| 328 | DEFUN ("minibuffer-completion-contents", Fminibuffer_completion_contents, | ||
| 329 | Sminibuffer_completion_contents, 0, 0, 0, | ||
| 330 | doc: /* Return the user input in a minibuffer before point as a string. | ||
| 331 | That is what completion commands operate on. | ||
| 332 | If the current buffer is not a minibuffer, return its entire contents. */) | ||
| 333 | (void) | ||
| 334 | { | ||
| 335 | ptrdiff_t prompt_end = XINT (Fminibuffer_prompt_end ()); | ||
| 336 | if (PT < prompt_end) | ||
| 337 | error ("Cannot do completion in the prompt"); | ||
| 338 | return make_buffer_string (prompt_end, PT, 1); | ||
| 339 | } | ||
| 340 | |||
| 341 | 328 | ||
| 342 | /* Read from the minibuffer using keymap MAP and initial contents INITIAL, | 329 | /* Read from the minibuffer using keymap MAP and initial contents INITIAL, |
| 343 | putting point minus BACKUP_N bytes from the end of INITIAL, | 330 | putting point minus BACKUP_N bytes from the end of INITIAL, |
| @@ -2127,7 +2114,6 @@ characters. This variable should never be set globally. */); | |||
| 2127 | defsubr (&Sminibuffer_prompt_end); | 2114 | defsubr (&Sminibuffer_prompt_end); |
| 2128 | defsubr (&Sminibuffer_contents); | 2115 | defsubr (&Sminibuffer_contents); |
| 2129 | defsubr (&Sminibuffer_contents_no_properties); | 2116 | defsubr (&Sminibuffer_contents_no_properties); |
| 2130 | defsubr (&Sminibuffer_completion_contents); | ||
| 2131 | 2117 | ||
| 2132 | defsubr (&Stry_completion); | 2118 | defsubr (&Stry_completion); |
| 2133 | defsubr (&Sall_completions); | 2119 | defsubr (&Sall_completions); |