summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-07-15 05:46:02 +0000
committerRichard M. Stallman <rms@gnu.org>1993-07-15 05:46:02 +0000
commitcfc736bf9a8cf602266b7f29a4493afdf6f065e7 (patch)
tree65923dc77717cd4039c52bbd716d5a8b6f19326d /src/minibuf.c
parentddf70bd8ddb030f37e94016b235f8dd36cbd6dac (diff)
downloademacs-cfc736bf9a8cf602266b7f29a4493afdf6f065e7.tar.gz
(Fdisplay_completion_list): Run completion-setup-hook.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c6
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.")
set_buffer_internal (XBUFFER (Vstandard_output));
if (NILP (completions))
- write_string ("There are no possible completions of what you have typed.", -1);
+ write_string ("There are no possible completions of what you have typed.",
+ -1);
else
{
write_string ("Possible completions are:", -1);
@@ -1305,6 +1306,9 @@ or may be a list of two strings to be printed as if concatenated.")
}
}
+ if (!NILP (Vrun_hooks))
+ call1 (Vrun_hooks, intern ("completion-setup-hook"));
+
if (XTYPE (Vstandard_output) == Lisp_Buffer)
set_buffer_internal (old);
return Qnil;