Mercurial > emacs
comparison lisp/mh-e/mh-letter.el @ 68519:bf46ace1ce4e
(mh-complete-word): Fix bug in call to mh-display-completion-list.
Wrong argument was passed, so completions wouldn't show highlighted
prefix.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Tue, 31 Jan 2006 20:19:50 +0000 |
parents | 0f44616074ba |
children | 7daec5f4a289 |
comparison
equal
deleted
inserted
replaced
68518:cf867c84ce1f | 68519:bf46ace1ce4e |
---|---|
892 (message "No completion for %s" word)) | 892 (message "No completion for %s" word)) |
893 ((stringp completion) | 893 ((stringp completion) |
894 (if (equal word completion) | 894 (if (equal word completion) |
895 (with-output-to-temp-buffer completions-buffer | 895 (with-output-to-temp-buffer completions-buffer |
896 (mh-display-completion-list (all-completions word choices) | 896 (mh-display-completion-list (all-completions word choices) |
897 choices)) | 897 word)) |
898 (ignore-errors | 898 (ignore-errors |
899 (kill-buffer completions-buffer)) | 899 (kill-buffer completions-buffer)) |
900 (delete-region begin end) | 900 (delete-region begin end) |
901 (insert completion)))))) | 901 (insert completion)))))) |
902 | 902 |