[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1b449af 3/3: Must explicitly create unpropertized strings in mode
From: |
João Távora |
Subject: |
master 1b449af 3/3: Must explicitly create unpropertized strings in mode-line |
Date: |
Thu, 31 Dec 2020 09:04:04 -0500 (EST) |
branch: master
commit 1b449af5a1c0585da5b1d30c17a1d4b2d8954ddf
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
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 32f4135..8d1797f 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