branch: elpa/telephone-line
commit 3a6c4333482d4d65b064f0bb82cc0d1220018f17
Author: endoffile78 <[email protected]>
Commit: endoffile78 <[email protected]>

    Add support for irc clients that use tracking mode
---
 telephone-line-segments.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 713eeff0dd..e7035c188a 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -186,6 +186,10 @@ If it doesn't exist, create and cache it."
   (when (boundp 'erc-modified-channels-object)
     (string-trim erc-modified-channels-object)))
 
+(telephone-line-defsegment telephone-line-tracking-segment ()
+  (when (boundp 'tracking-mode-line-buffers)
+    tracking-mode-line-buffers))
+
 (telephone-line-defsegment telephone-line-window-number-segment (&optional 
in-unicode)
   (when (bound-and-true-p winum-mode)
     (if in-unicode

Reply via email to