Use minibuffer-message in pcomplete-show-completions

This commit is contained in:
Leo Liu 2012-09-28 21:42:19 +08:00
parent 9c1228c323
commit 147c042502
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2012-09-28 Leo Liu <sdl.web@gmail.com>
* pcomplete.el (pcomplete-show-completions): Use
minibuffer-message to make pcomplete usable in minibuffer.
* ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2012-09-16 Leo Liu <sdl.web@gmail.com>

View file

@ -1139,7 +1139,7 @@ Typing SPC flushes the help buffer."
(setq pcomplete-last-window-config (current-window-configuration)))
(with-output-to-temp-buffer "*Completions*"
(display-completion-list completions))
(message "Hit space to flush")
(minibuffer-message "Hit space to flush")
(let (event)
(prog1
(catch 'done