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

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

[nongnu] elpa/telephone-line e0eeb057ca 160/195: Actually check if the p


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line e0eeb057ca 160/195: Actually check if the projectile stuff will work
Date: Wed, 5 Jan 2022 02:59:45 -0500 (EST)

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

    Actually check if the projectile stuff will work
---
 telephone-line-segments.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 59fe2d08b7..0f012e71c6 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -206,8 +206,9 @@ 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)
-           (bound-and-true-p projectile-project-root)
-           (bound-and-true-p projectile-project-name))
+           (fboundp 'projectile-project-name)
+           (fboundp 'projectile-project-p)
+           (projectile-project-p))
       (list ""
             (if show-project-path
                 (propertize



reply via email to

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