]> git.eshelyaron.com Git - emacs.git/commit
Fix flymake mode line scrolling with pixel-scroll-precision-mode
authorSpencer Baugh <sbaugh@catern.com>
Sun, 2 Jul 2023 21:49:23 +0000 (17:49 -0400)
committerEli Zaretskii <eliz@gnu.org>
Thu, 13 Jul 2023 13:58:15 +0000 (16:58 +0300)
commite5be6c7ae30933a77e81c88a05861dd575286c0c
tree10d3bfd7ea841c6a904a7d798dcd78d91d3cd1dc
parent488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0
Fix flymake mode line scrolling with pixel-scroll-precision-mode

When pixel-scroll-precision-mode is enabled, scrolling the mouse
wheel will yield wheel-{up,down} events.  Flymake now binds the
new events in addition to the old mouse-wheel-{up,down}-event.

* lisp/progmodes/flymake.el:(flymake--mode-line-counter-scroll-prev)
(flymake--mode-line-counter-scroll-next)
flymake--mode-line-counter-map): New.
(flymake--mode-line-counter): Use new keymap and include
'flymake--diagnostic-type' as a property in the mode-line.
(Bug#64428)
lisp/progmodes/flymake.el