From 55e77a811a6f137b02eb786fb00c43f0f14bb028 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 27 Aug 2021 20:11:45 +0300 Subject: [PATCH] * 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) --- lisp/progmodes/flymake.el | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2