From 349e0eb5ff8554947aecfed9ca43fee686712ba0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 7 Oct 2017 16:55:04 +0100 Subject: [PATCH] Fix flymake-goto-next-error when message has %-constructs * lisp/progmodes/flymake.el (flymake-goto-next-error): Fix message call. Add missing period in docstring. --- lisp/progmodes/flymake.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 45f0adfeba1..4c4d6aef322 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -795,7 +795,7 @@ Interactively, always move to the next error. With a prefix arg, skip any diagnostics with a severity less than ‘:warning’. If ‘flymake-wrap-around’ is non-nil and no more next errors, -resumes search from top +resumes search from top. FILTER is a list of diagnostic types found in `flymake-diagnostic-types-alist', or nil, if no filter is to be @@ -835,6 +835,7 @@ applied." (goto-char (overlay-start target)) (when interactive (message + "%s" (funcall (overlay-get target 'help-echo) nil nil (point))))) (interactive -- 2.39.5