From 932c57c9eaab2c93901e2f184023bc9b0519bfe2 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 21 Jan 2024 18:25:03 +0100 Subject: [PATCH] Alias `list-errors' (new) to `flymake-show-buffer-diagnostics' (old) --- README.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index dc60c4d..cc7217e 100644 --- a/README.org +++ b/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 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 :PROPERTIES: