[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/breadcrumb ac8983e028: Fix #20: Correct project name sh
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/breadcrumb ac8983e028: Fix #20: Correct project name shortening for names with dots (#21) |
|
Date: |
Wed, 1 Nov 2023 06:57:30 -0400 (EDT) |
branch: externals/breadcrumb
commit ac8983e02891b001a1e6253ac7ae069db2496cbd
Author: roife <roifewu@gmail.com>
Commit: GitHub <noreply@github.com>
Fix #20: Correct project name shortening for names with dots (#21)
Fix #20: Correctly shorten project names with dots
Close #21.
* breadcrumb.el (bc--project-crumbs-1): Use file-name-nondirectory.
Copyright-paperwork-exempt: Yes
---
breadcrumb.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/breadcrumb.el b/breadcrumb.el
index 7e3546b827..2ab37459f7 100644
--- a/breadcrumb.el
+++ b/breadcrumb.el
@@ -354,7 +354,7 @@ propertized crumbs."
finally
(cl-return
(if root
- (cons (propertize (file-name-base (directory-file-name root))
+ (cons (propertize (file-name-nondirectory (directory-file-name root))
'bc-dont-shorten t
'face 'bc-project-base-face)
retval)
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/breadcrumb ac8983e028: Fix #20: Correct project name shortening for names with dots (#21),
ELPA Syncer <=