[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ec7567f02c: Avoid formatting twice in flymake
From: |
Paul Eggert |
Subject: |
master ec7567f02c: Avoid formatting twice in flymake |
Date: |
Wed, 18 May 2022 15:40:08 -0400 (EDT) |
branch: master
commit ec7567f02cc1a1a86ab56abbd6347c86ee41e13a
Author: Paul Eggert <eggert@day>
Commit: Paul Eggert <eggert@cs.ucla.edu>
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.
---
lisp/progmodes/flymake.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index fbbfacfcfe..0b7958e52f 100644
--- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ec7567f02c: Avoid formatting twice in flymake,
Paul Eggert <=