[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line c077184452 191/195: Adapt flymake-segment t
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line c077184452 191/195: Adapt flymake-segment to upstream changes |
Date: |
Wed, 5 Jan 2022 03:00:05 -0500 (EST) |
branch: elpa/telephone-line
commit c0771844527c999c314242d591461d4665d3e6a7
Author: Gerry Agbobada <10496163+gagbo@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Adapt flymake-segment to upstream changes
Since last
[december](https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/progmodes/flymake.el?id=2e6fbb05b6c17a1481fd6b73491cfa9c66c0c84f),
the name of the flymake mode line format variable changed.
Use a boundp check to use the correct variable.
---
telephone-line-segments.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 3da5a248e1..87c8ba09c4 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -267,7 +267,10 @@ Configure the face group telephone-line-evil to change the
colors per-mode."
(telephone-line-defsegment telephone-line-flymake-segment ()
"Wraps `flymake-mode' mode-line information in a telephone-line segment."
(when (bound-and-true-p flymake-mode)
- (telephone-line-raw flymake--mode-line-format t)))
+ (telephone-line-raw
+ (if (boundp flymake--mode-line-format)
+ flymake--mode-line-format
+ flymake-mode-line-format) t)))
(telephone-line-defsegment telephone-line-flycheck-segment ()
"Displays current checker state."
- [nongnu] elpa/telephone-line de2e4d5c86 153/195: Fix telephone-line-warning docstring., (continued)
- [nongnu] elpa/telephone-line de2e4d5c86 153/195: Fix telephone-line-warning docstring., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c4cab5a5dc 150/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 17bc3be4bf 145/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line f30195b8a3 162/195: Remove dead function, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 65198f72f3 181/195: Merge pull request #111 from gagbo/patch-1, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line ff526441a2 195/195: Merge pull request #121 from skangas/bump-version, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line db5808e5db 065/195: Minor update, use new shim package instead of straight eieio, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3cb6ab4afc 161/195: Fix for #83, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line ef753fae21 193/195: Bump version to 0.5, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 123ba1f990 158/195: Little fix for projectile-buffer-segment., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c077184452 191/195: Adapt flymake-segment to upstream changes,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 547979a092 194/195: Update copyright years, ELPA Syncer, 2022/01/05