emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/telephone-line ff5fcb2181 192/195: Merge pull request #120


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line ff5fcb2181 192/195: Merge pull request #120 from gagbo/patch-3
Date: Wed, 5 Jan 2022 03:00:05 -0500 (EST)

branch: elpa/telephone-line
commit ff5fcb2181cf1d52bfc5fb8d76ac37f9cad22ce2
Merge: aebac4658e c077184452
Author: Daniel Bordak <daniel.bordak@dbordak.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #120 from gagbo/patch-3
    
    Adapt flymake-segment to upstream changes
---
 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]