projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55b407
)
Avoid formatting twice in flymake
author
Paul Eggert
<eggert@day>
Wed, 18 May 2022 19:39:30 +0000
(12:39 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 18 May 2022 19:40:01 +0000
(12:40 -0700)
* lisp/progmodes/flymake.el (flymake-error): Don't format a
message twice, as that can translate quotes we don't want
translated.
lisp/progmodes/flymake.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/flymake.el
b/lisp/progmodes/flymake.el
index fbbfacfcfed687648b11f258631edccf78d75db7..0b7958e52fbc8a7708ed3171373a4d6130d53e79 100644
(file)
--- a/
lisp/progmodes/flymake.el
+++ b/
lisp/progmodes/flymake.el
@@
-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