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

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

[elpa] externals/crdt dc72997 66/80: add mouse alias for RETs in menus


From: ELPA Syncer
Subject: [elpa] externals/crdt dc72997 66/80: add mouse alias for RETs in menus
Date: Sat, 28 Aug 2021 10:57:43 -0400 (EDT)

branch: externals/crdt
commit dc729977339499390d3bd41bfd38a6be0b17c740
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>

    add mouse alias for RETs in menus
---
 crdt.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/crdt.el b/crdt.el
index 83895c6..11285b9 100644
--- a/crdt.el
+++ b/crdt.el
@@ -462,6 +462,7 @@ after synchronization is completed."
 (defvar crdt-session-menu-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map (kbd "RET") #'crdt--session-menu-goto)
+    (define-key map [mouse-1] #'crdt--session-menu-goto)
     (define-key map (kbd "k") #'crdt--session-menu-kill)
     map))
 
@@ -537,6 +538,7 @@ Only server can perform this action."
 (defvar crdt-buffer-menu-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map (kbd "RET") #'crdt--buffer-menu-goto)
+    (define-key map [mouse-1] #'crdt--buffer-menu-goto)
     (define-key map (kbd "k") #'crdt--buffer-menu-kill)
     map))
 
@@ -635,6 +637,7 @@ Only server can perform this action."
 (defvar crdt-user-menu-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map (kbd "RET") #'crdt--user-menu-goto)
+    (define-key map [mouse-1] #'crdt--user-menu-goto)
     (define-key map (kbd "k") #'crdt--user-menu-kill)
     map))
 



reply via email to

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