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

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

[nongnu] elpa/telephone-line 401a9c6ad6 159/195: Merge pull request #81


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 401a9c6ad6 159/195: Merge pull request #81 from ogdenwebb/fix-projectile-buffer-segment
Date: Wed, 5 Jan 2022 02:59:45 -0500 (EST)

branch: elpa/telephone-line
commit 401a9c6ad6f99ea41b270baaca0977af67c1f2fd
Merge: a9d89b876d 123ba1f990
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: GitHub <noreply@github.com>

    Merge pull request #81 from ogdenwebb/fix-projectile-buffer-segment
    
    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]