Avoid formatting twice in flymake
* lisp/progmodes/flymake.el (flymake-error): Don't format a message twice, as that can translate quotes we don't want translated.
This commit is contained in:
@@ -303,7 +303,7 @@ generated it."
|
||||
(defun flymake-error (text &rest args)
|
||||
"Format TEXT with ARGS and signal an error for Flymake."
|
||||
(let ((msg (apply #'format-message text args)))
|
||||
(flymake-log :error msg)
|
||||
(flymake-log :error "%s" msg)
|
||||
(error (concat "[Flymake] " msg))))
|
||||
|
||||
(cl-defstruct (flymake--diag
|
||||
|
||||
Reference in New Issue
Block a user