summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2025-02-06 23:07:49 +0000
committerJoão Távora <joaotavora@gmail.com>2025-02-08 14:53:28 +0000
commitda34d030e6d01db2bba45b30080204b23a714c9f (patch)
tree51bd83db3a7a868b1ff6305577f834c7d5b031a2
parentc06c1c6b6d001562a19a5942569576b80117a40a (diff)
Don't shorten non-file buffer names
* breadcrumb.el (breadcrumb-project-crumbs): Don't shorten non-file buffer names.
-rw-r--r--breadcrumb.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/breadcrumb.el b/breadcrumb.el
index 174d6f3..dc0bbc0 100644
--- a/breadcrumb.el
+++ b/breadcrumb.el
@@ -371,7 +371,9 @@ propertized crumbs."
"Describing the current file inside project."
(bc--summarize
(if buffer-file-name (bc--project-crumbs-1 buffer-file-name)
- (list (propertize (buffer-name) 'face 'bc-project-leaf-face)))
+ (list (propertize (buffer-name)
+ 'face 'bc-project-leaf-face
+ 'bc-dont-shorten t)))
(bc--length bc-project-max-length)
(propertize bc-project-crumb-separator
'face 'bc-project-crumbs-face)))