* ecomplete.el (ecomplete-display-matches): Get highlightling
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 14 Apr 2006 10:42:46 +0000 (10:42 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 14 Apr 2006 10:42:46 +0000 (10:42 +0000)
right.

lisp/ChangeLog
lisp/ecomplete.el

index 968dbc1..25b1c96 100644 (file)
@@ -1,5 +1,8 @@
 2006-04-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * ecomplete.el (ecomplete-display-matches): Get highlightling
+       right. 
+
        * message.el (message-display-abbrev): Small optimization.
 
        * ecomplete.el (ecomplete-display-matches): Allow automatic
index e9eef9d..665fde3 100644 (file)
        (progn
          (message "No ecomplete matches")
          nil)
-      (setq highlight (ecomplete-highlight-match-line matches line))
       (if (not choose)
          (progn
-           (message highlight)
+           (message matches)
            nil)
+       (setq highlight (ecomplete-highlight-match-line matches line))
        (while (not (memq (setq command (read-event highlight)) '(? return)))
          (cond
           ((eq command (aref (kbd "M-n") 0))