(ecomplete-display-matches): Use M-n/M-p
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 14 Apr 2006 10:14:16 +0000 (10:14 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 14 Apr 2006 10:14:16 +0000 (10:14 +0000)
keystrokes.

lisp/ChangeLog
lisp/ecomplete.el

index f6e8286..3c455f0 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * ecomplete.el (ecomplete-display-matches): Use M-n/M-p
+       keystrokes. 
+
 2006-04-13  Romain Francoise  <romain@orebokech.com>
 
        * gnus-util.el (gnus-alist-to-hashtable, gnus-hashtable-to-alist):
index f638c19..862a7a2 100644 (file)
       (setq highlight (ecomplete-highlight-match-line matches line))
       (while (not (memq (setq command (read-event highlight)) '(? return)))
        (cond
-        ((eq command ?n)
+        ((eq command (aref (kbd "M-n") 0))
          (setq line (min (1+ line) max-lines)))
-        ((eq command ?p)
+        ((eq command (aref (kbd "M-p") 0))
          (setq line (max (1- line) 0))))
        (setq highlight (ecomplete-highlight-match-line matches line)))
       (when (eq command 'return)