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

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

[nongnu] elpa/telephone-line 123ba1f990 158/195: Little fix for projecti


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 123ba1f990 158/195: Little fix for projectile-buffer-segment.
Date: Wed, 5 Jan 2022 02:59:43 -0500 (EST)

branch: elpa/telephone-line
commit 123ba1f9904e03cc7a4bafe817d65f66dab05fd8
Author: ogdenwebb <ogdenwebb@gmail.com>
Commit: ogdenwebb <ogdenwebb@gmail.com>

    Little fix for projectile-buffer-segment.
---
 telephone-line-segments.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 98327c0321..59fe2d08b7 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -206,8 +206,8 @@ TRUNCATE-UNTIL sets when to stop truncating; -1 for all but 
one (i.e. filename),
 If SHOW-PROJECT-PATH is non-nil, shows the abbreviated path leading up to the 
project dir. Value works the same as TRUNCATE-UNTIL
 Inspired by doom-modeline."
   (if (and (buffer-file-name)
-           (fboundp 'projectile-project-root)
-           (fboundp 'projectile-project-name))
+           (bound-and-true-p projectile-project-root)
+           (bound-and-true-p projectile-project-name))
       (list ""
             (if show-project-path
                 (propertize



reply via email to

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