mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Show Flymake diagnostics on clicking mouse-1 on the mode-line indicator
* lisp/progmodes/flymake.el (flymake--mode-line-counter-map): Bind [mode-line mouse-1] to 'flymake-show-buffer-diagnostics' (bug#76254).
This commit is contained in:
parent
5167989b2a
commit
0f9dd5b3a1
1 changed files with 2 additions and 0 deletions
|
|
@ -1891,6 +1891,8 @@ correctly.")
|
|||
#'flymake--mode-line-counter-scroll-next)
|
||||
(define-key map [mode-line wheel-up]
|
||||
#'flymake--mode-line-counter-scroll-prev))
|
||||
(define-key map [mode-line mouse-1]
|
||||
#'flymake-show-buffer-diagnostics)
|
||||
map))
|
||||
|
||||
(defun flymake--mode-line-counter-1 (type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue