Setup `flymake-mode-map'

This commit is contained in:
Gerard Vermeulen 2024-04-18 12:59:41 +02:00
parent 1ccd44ba3e
commit be280ee7ee

View File

@ -4794,7 +4794,10 @@ that do not visit a file. Listing [[lst:configure-flymake]] aliases =list-error
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'flymake
(defalias 'list-errors #'flymake-show-buffer-diagnostics
"Show a list of Flymake diagnostics for current buffer."))
"Show a list of Flymake diagnostics for current buffer.")
(keymap-set flymake-mode-map "M-n" 'flymake-goto-next-error)
(keymap-set flymake-mode-map "M-p" 'flymake-goto-prev-error))
#+end_src
* Programming Modes