From 2870a72d0d6675e189457394ac421bd8e5ab4561 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 9 Jul 2021 14:37:49 +0300 Subject: [PATCH] Partially restore the lost C-mouse-2 drop-down menu This allows to pop up the Text Properties menu once facemenu is loaded. It still doesn't allow C-mouse-2 clicks without manually loading facemenu; FIXME. * lisp/facemenu.el (global-map) : Add back the removed binding. (Bug#49466) --- lisp/facemenu.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/facemenu.el b/lisp/facemenu.el index 855ce0be69e..9d75302a977 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el @@ -244,6 +244,8 @@ return a string which is inserted. It may set `facemenu-end-add-face'." (define-key map [fc] (cons "Face" 'facemenu-face-menu))) (defalias 'facemenu-menu facemenu-menu) +(define-key global-map [C-down-mouse-2] 'facemenu-menu) + (easy-menu-add-item menu-bar-edit-menu nil ["Text Properties" facemenu-menu]) -- 2.39.2