]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix flymake-goto-next-error when message has %-constructs
authorJoão Távora <joaotavora@gmail.com>
Sat, 7 Oct 2017 15:55:04 +0000 (16:55 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 7 Oct 2017 15:57:33 +0000 (16:57 +0100)
* lisp/progmodes/flymake.el (flymake-goto-next-error): Fix
message call.  Add missing period in docstring.

lisp/progmodes/flymake.el

index 45f0adfeba16bf614e4a09726f7d144b215f34de..4c4d6aef3225aaba25a588b7cf78ea6d4063d282 100644 (file)
@@ -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