mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
doom-modeline-update-flycheck-text: literal vector
Otherwise, I get the error `Two bases given in one event`.
This commit is contained in:
parent
05b213ff98
commit
fc091fcc61
1 changed files with 2 additions and 4 deletions
|
@ -881,14 +881,12 @@ mouse-3: Next error"
|
|||
(define-key map [mode-line mouse-3]
|
||||
#'flycheck-next-error)
|
||||
(when (featurep 'mwheel)
|
||||
(define-key map (vector 'mode-line
|
||||
mouse-wheel-down-event)
|
||||
(define-key map [mode-line mouse-wheel-down-event]
|
||||
(lambda (event)
|
||||
(interactive "e")
|
||||
(with-selected-window (posn-window (event-start event))
|
||||
(flycheck-previous-error 1))))
|
||||
(define-key map (vector 'mode-line
|
||||
mouse-wheel-up-event)
|
||||
(define-key map [mode-line mouse-wheel-up-event]
|
||||
(lambda (event)
|
||||
(interactive "e")
|
||||
(with-selected-window (posn-window (event-start event))
|
||||
|
|
Loading…
Add table
Reference in a new issue