emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/corfu a4db6d208f: corfu-map: Use \M-x instead of \ex


From: ELPA Syncer
Subject: [elpa] externals/corfu a4db6d208f: corfu-map: Use \M-x instead of \ex
Date: Sat, 30 Apr 2022 06:57:23 -0400 (EDT)

branch: externals/corfu
commit a4db6d208fa3b007dd630b72ca83cacd35c77d56
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    corfu-map: Use \M-x instead of \ex
---
 corfu.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/corfu.el b/corfu.el
index 316b324049..453f90d34d 100644
--- a/corfu.el
+++ b/corfu.el
@@ -235,14 +235,14 @@ The completion backend can override this with
     ;; XXX [tab] is bound because of org-mode
     ;; The binding should be removed from org-mode-map.
     (define-key map [tab] #'corfu-complete)
-    (define-key map "\en" #'corfu-next)
-    (define-key map "\ep" #'corfu-previous)
+    (define-key map "\M-n" #'corfu-next)
+    (define-key map "\M-p" #'corfu-previous)
     (define-key map "\C-g" #'corfu-quit)
     (define-key map "\r" #'corfu-insert)
     (define-key map "\t" #'corfu-complete)
-    (define-key map "\eg" 'corfu-info-location)
-    (define-key map "\eh" 'corfu-info-documentation)
-    (define-key map (concat "\e" " ") #'corfu-insert-separator) ;; Avoid ugly 
warning
+    (define-key map "\M-g" 'corfu-info-location)
+    (define-key map "\M-h" 'corfu-info-documentation)
+    (define-key map "\M- " #'corfu-insert-separator)
     map)
   "Corfu keymap used when popup is shown.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]