diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index b57cf4c73f4..e941fd0a787 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1249,7 +1249,8 @@ or may be a list of two strings to be printed as if concatenated.") | |||
| 1249 | set_buffer_internal (XBUFFER (Vstandard_output)); | 1249 | set_buffer_internal (XBUFFER (Vstandard_output)); |
| 1250 | 1250 | ||
| 1251 | if (NILP (completions)) | 1251 | if (NILP (completions)) |
| 1252 | write_string ("There are no possible completions of what you have typed.", -1); | 1252 | write_string ("There are no possible completions of what you have typed.", |
| 1253 | -1); | ||
| 1253 | else | 1254 | else |
| 1254 | { | 1255 | { |
| 1255 | write_string ("Possible completions are:", -1); | 1256 | write_string ("Possible completions are:", -1); |
| @@ -1305,6 +1306,9 @@ or may be a list of two strings to be printed as if concatenated.") | |||
| 1305 | } | 1306 | } |
| 1306 | } | 1307 | } |
| 1307 | 1308 | ||
| 1309 | if (!NILP (Vrun_hooks)) | ||
| 1310 | call1 (Vrun_hooks, intern ("completion-setup-hook")); | ||
| 1311 | |||
| 1308 | if (XTYPE (Vstandard_output) == Lisp_Buffer) | 1312 | if (XTYPE (Vstandard_output) == Lisp_Buffer) |
| 1309 | set_buffer_internal (old); | 1313 | set_buffer_internal (old); |
| 1310 | return Qnil; | 1314 | return Qnil; |