Alias list-errors' (new) to
flymake-show-buffer-diagnostics' (old)
This commit is contained in:
parent
32dc95054c
commit
932c57c9ea
12
README.org
12
README.org
@ -4912,7 +4912,17 @@ Listing [[lst:configure-format-all]]:
|
|||||||
|
|
||||||
Flymake is an universal on-the-fly syntax checker for Emacs. It is a requirement
|
Flymake is an universal on-the-fly syntax checker for Emacs. It is a requirement
|
||||||
of [[https://github.com/joaotavora/eglot][eglot]], but you can use it without [[https://github.com/joaotavora/eglot][eglot]] for instance in [[https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/python.el][python-mode]] buffers
|
of [[https://github.com/joaotavora/eglot][eglot]], but you can use it without [[https://github.com/joaotavora/eglot][eglot]] for instance in [[https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/python.el][python-mode]] buffers
|
||||||
that do not visit a file.
|
that do not visit a file. Listing [[lst:configure-flymake]] aliases =list-errors=
|
||||||
|
(new) to =flymake-show-buffer-diagnostics= (old).
|
||||||
|
|
||||||
|
#+caption[Configure =Flymake=]:
|
||||||
|
#+caption: Configure =Flymake=
|
||||||
|
#+name: lst:configure-flymake
|
||||||
|
#+begin_src emacs-lisp -n
|
||||||
|
(with-eval-after-load 'flymake
|
||||||
|
(defalias 'list-errors #'flymake-show-buffer-diagnostics
|
||||||
|
"Show a list of Flymake diagnostics for current buffer."))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Programming Modes
|
* Programming Modes
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
Loading…
Reference in New Issue
Block a user