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

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

[nongnu] elpa/telephone-line dde8805867 142/195: Remove brackets from pr


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line dde8805867 142/195: Remove brackets from projectile segment
Date: Wed, 5 Jan 2022 02:59:40 -0500 (EST)

branch: elpa/telephone-line
commit dde8805867a251120dd1cb20d2a276e7b3f8bedd
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>

    Remove brackets from projectile segment
---
 telephone-line-segments.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 1622cfe342..2ccef11c6f 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -105,9 +105,8 @@ mouse-3: Toggle minor modes"
       (winum-get-number-string))))
 
 (telephone-line-defsegment telephone-line-projectile-segment ()
-    (if (and (fboundp 'projectile-project-name)
-             (projectile-project-name))
-        (propertize (format "[%s]" (concat (projectile-project-name)))
+    (if (fboundp 'projectile-project-name)
+        (propertize (projectile-project-name)
                     'face '(:inherit)
                     'display '(raise 0.0)
                     'help-echo "Switch project"



reply via email to

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