From: Eli Zaretskii Date: Fri, 9 Jul 2021 11:37:49 +0000 (+0300) Subject: Partially restore the lost C-mouse-2 drop-down menu X-Git-Tag: emacs-28.0.90~1916 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2870a72d0d6675e189457394ac421bd8e5ab4561;p=emacs.git 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) --- 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])