Commit 08166ee9 authored by Bill Wohler's avatar Bill Wohler
Browse files

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

Wrong argument was passed, so completions wouldn't show highlighted
prefix.
parent b2acecc1
...@@ -894,7 +894,7 @@ Any match found replaces the text from BEGIN to END." ...@@ -894,7 +894,7 @@ Any match found replaces the text from BEGIN to END."
(if (equal word completion) (if (equal word completion)
(with-output-to-temp-buffer completions-buffer (with-output-to-temp-buffer completions-buffer
(mh-display-completion-list (all-completions word choices) (mh-display-completion-list (all-completions word choices)
choices)) word))
(ignore-errors (ignore-errors
(kill-buffer completions-buffer)) (kill-buffer completions-buffer))
(delete-region begin end) (delete-region begin end)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment