1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00

(mh-complete-word): Fix bug in call to mh-display-completion-list.

Wrong argument was passed, so completions wouldn't show highlighted
prefix.
This commit is contained in:
Bill Wohler 2006-01-31 20:19:50 +00:00
parent b2acecc1fc
commit 08166ee946

View file

@ -894,7 +894,7 @@ Any match found replaces the text from BEGIN to END."
(if (equal word completion)
(with-output-to-temp-buffer completions-buffer
(mh-display-completion-list (all-completions word choices)
choices))
word))
(ignore-errors
(kill-buffer completions-buffer))
(delete-region begin end)