From: Juri Linkov Date: Fri, 27 Aug 2021 17:11:45 +0000 (+0300) Subject: * lisp/progmodes/flymake.el: Bind mouse-3 to flymake-menu on mode-line. X-Git-Tag: emacs-28.0.90~1282 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55e77a811a6f137b02eb786fb00c43f0f14bb028;p=emacs.git * lisp/progmodes/flymake.el: Bind mouse-3 to flymake-menu on mode-line. * lisp/progmodes/flymake.el (flymake--mode-line-title): Bind [mode-line down-mouse-3] to flymake-menu (bug#50067) --- diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 77a807f21ae..cc12fce04a0 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1256,6 +1256,8 @@ correctly.") ,(let ((map (make-sparse-keymap))) (define-key map [mode-line down-mouse-1] flymake-menu) + (define-key map [mode-line down-mouse-3] + flymake-menu) (define-key map [mode-line mouse-2] (lambda () (interactive)