From 1b449af5a1c0585da5b1d30c17a1d4b2d8954ddf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Thu, 31 Dec 2020 13:40:09 +0000 Subject: [PATCH] Must explicitly create unpropertized strings in mode-line Otherwise, an innocent string like " " will mysteriously pickup properties from some other minor mode. Making this a separate commit in hopes of raising attention to this possible bug. * lisp/progmodes/flymake.el (flymake--mode-line-counter): Must explicily create a new string unpropertized string --- 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 32f4135119b..8d1797fe3ce 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1301,7 +1301,7 @@ correctly.") (warning-numeric-level flymake-suppress-zero-counters))) (t t))) - `(,(if no-space "" " ") + `(,(if no-space "" '(:propertize " ")) (:propertize ,(format "%d" count) face ,face -- 2.39.5