[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 35086a65af 1/2: Fix: quote flymake--mode-li
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 35086a65af 1/2: Fix: quote flymake--mode-line-format symbol boundp check |
Date: |
Wed, 22 Mar 2023 01:01:56 -0400 (EDT) |
branch: elpa/telephone-line
commit 35086a65aff4d7aa2c8e878b29159050a7d74a64
Author: Grant Shangreaux <shoshin@cicadas.surf>
Commit: Grant Shangreaux <shoshin@cicadas.surf>
Fix: quote flymake--mode-line-format symbol boundp check
It seems like the symbol flymake--mode-line-format is no longer found
in the flymake package's code, so this was raising a void symbol
error. Quoting it should keep it backwards compatible for whatever
behavior this was using previously, and prevent the error from making
it so the flymake-mode-line-format variable was not being processed.
---
telephone-line-segments.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 80266d08fb..35eefbe221 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -288,8 +288,7 @@ Configure the face group telephone-line-evil to change the
colors per-mode."
"Wraps `flymake-mode' mode-line information in a telephone-line segment."
(when (bound-and-true-p flymake-mode)
(telephone-line-raw
- (if (boundp flymake--mode-line-format)
- flymake--mode-line-format
+ (if (boundp 'flymake--mode-line-format) flymake--mode-line-format
flymake-mode-line-format) t)))
(telephone-line-defsegment telephone-line-flycheck-segment ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/telephone-line 35086a65af 1/2: Fix: quote flymake--mode-line-format symbol boundp check,
ELPA Syncer <=