diff options
author | João Távora <joaotavora@gmail.com> | 2020-12-31 13:40:09 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2020-12-31 14:03:53 +0000 |
commit | 1b449af5a1c0585da5b1d30c17a1d4b2d8954ddf (patch) | |
tree | 05a54e7b4fb796684bcc190eb55564a75bac2065 /lisp/progmodes | |
parent | 2e6fbb05b6c17a1481fd6b73491cfa9c66c0c84f (diff) | |
download | emacs-1b449af5a1c0585da5b1d30c17a1d4b2d8954ddf.tar.gz |
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
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/flymake.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |