(mh-complete-word): Fix bug in call to mh-display-completion-list.
authorBill Wohler <wohler@newt.com>
Tue, 31 Jan 2006 20:19:50 +0000 (20:19 +0000)
committerBill Wohler <wohler@newt.com>
Tue, 31 Jan 2006 20:19:50 +0000 (20:19 +0000)
Wrong argument was passed, so completions wouldn't show highlighted
prefix.

lisp/mh-e/mh-letter.el

index dfa96c6..a5a7af2 100644 (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)