* ecomplete.el (ecomplete-display-matches): Get highlightling
right.
+ (ecomplete-display-matches): Use literals.
* message.el (message-display-abbrev): Small optimization.
(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))
+ ((eq command ?\M-n)
(setq line (min (1+ line) max-lines)))
- ((eq command (aref (kbd "M-p") 0))
+ ((eq command ?\M-p)
(setq line (max (1- line) 0))))
(setq highlight (ecomplete-highlight-match-line matches line)))
(when (eq command 'return)