Setup `flymake-mode-map'
This commit is contained in:
parent
1ccd44ba3e
commit
be280ee7ee
@ -4794,7 +4794,10 @@ that do not visit a file. Listing [[lst:configure-flymake]] aliases =list-error
|
|||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
(with-eval-after-load 'flymake
|
(with-eval-after-load 'flymake
|
||||||
(defalias 'list-errors #'flymake-show-buffer-diagnostics
|
(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
|
#+end_src
|
||||||
|
|
||||||
* Programming Modes
|
* Programming Modes
|
||||||
|
Loading…
Reference in New Issue
Block a user