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

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

[nongnu] elpa/telephone-line 110c578ccf 184/195: Merge pull request #113


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 110c578ccf 184/195: Merge pull request #113 from gagbo/patch-2
Date: Wed, 5 Jan 2022 03:00:04 -0500 (EST)

branch: elpa/telephone-line
commit 110c578ccf6c0421cfd9eec7aa3e960b6fd49fb4
Merge: 65198f72f3 797f257642
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: GitHub <noreply@github.com>

    Merge pull request #113 from gagbo/patch-2
    
    Add telephone-line-flymake-segment
---
 telephone-line-segments.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index e7035c188a..d667cd5335 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -265,6 +265,11 @@ Configure the face group telephone-line-evil to change the 
colors per-mode."
           (seq-take tag 2)
         tag))))
 
+(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-defsegment telephone-line-flycheck-segment ()
   "Displays current checker state."
   (when (bound-and-true-p flycheck-mode)



reply via email to

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