diff options
| author | Richard M. Stallman | 1993-07-15 05:46:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-07-15 05:46:02 +0000 |
| commit | cfc736bf9a8cf602266b7f29a4493afdf6f065e7 (patch) | |
| tree | 65923dc77717cd4039c52bbd716d5a8b6f19326d | |
| parent | ddf70bd8ddb030f37e94016b235f8dd36cbd6dac (diff) | |
| download | emacs-cfc736bf9a8cf602266b7f29a4493afdf6f065e7.tar.gz emacs-cfc736bf9a8cf602266b7f29a4493afdf6f065e7.zip | |
(Fdisplay_completion_list): Run completion-setup-hook.
| -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; |