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

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

[nongnu] elpa/telephone-line 1025d435af 169/195: Removed duplicate segme


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 1025d435af 169/195: Removed duplicate segment, renamed absolute-path segment for clarity
Date: Wed, 5 Jan 2022 02:59:53 -0500 (EST)

branch: elpa/telephone-line
commit 1025d435af659371fbfa59916f2588b016bb1410
Author: Mike Panitz <mike.panitz@gmail.com>
Commit: Mike Panitz <mike.panitz@gmail.com>

    Removed duplicate segment, renamed absolute-path segment for clarity
---
 telephone-line-segments.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index a88a8101c0..c283b82ef9 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -92,9 +92,6 @@ Adapted from doom-modeline."
 (telephone-line-defsegment* telephone-line-minions-mode-segment ()
   (telephone-line-raw minions-mode-line-modes t))
 
-(telephone-line-defsegment* telephone-line-buffer-name-segment ()
-  (telephone-line-raw (buffer-name)))
-
 ;; For a file like /a/b/c/file.txt, this should display
 ;; file.txt
 (telephone-line-defsegment telephone-line-buffer-name-segment ()
@@ -103,7 +100,7 @@ Adapted from doom-modeline."
 
 ;; For a file like /a/b/c/file.txt, this should display
 ;; /a/b/c/file.txt
-(telephone-line-defsegment telephone-line-file-name-segment ()
+(telephone-line-defsegment telephone-line-file-name-absolute-path-segment ()
   buffer-file-name)
 
 (telephone-line-defsegment* telephone-line-buffer-modified-segment ()



reply via email to

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