From: João Távora Date: Thu, 31 Dec 2020 13:40:09 +0000 (+0000) Subject: Must explicitly create unpropertized strings in mode-line X-Git-Tag: emacs-28.0.90~4456 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b449af5a1c0585da5b1d30c17a1d4b2d8954ddf;p=emacs.git 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 --- 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