Fix: mouse-click issue for flycheck menu.

This commit is contained in:
Vincent Zhang 2019-01-08 01:23:12 +08:00
parent 815405604f
commit a01d39b2e7

View file

@ -1124,7 +1124,7 @@ mouse-2: Show help for minor mode")
('suspicious "Suspicious"))) ('suspicious "Suspicious")))
'mouse-face '(:box 1) 'mouse-face '(:box 1)
'local-map (let ((map (make-sparse-keymap))) 'local-map (let ((map (make-sparse-keymap)))
(define-key map [mode-line mouse-1] (define-key map [mode-line down-mouse-1]
flycheck-mode-menu-map) flycheck-mode-menu-map)
(define-key map [mode-line mouse-2] (define-key map [mode-line mouse-2]
(lambda () (lambda ()