aboutsummaryrefslogtreecommitdiff
path: root/modules/modeline-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/modeline-config.el')
-rw-r--r--modules/modeline-config.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/modeline-config.el b/modules/modeline-config.el
index f6b8ef4eb..d669425d3 100644
--- a/modules/modeline-config.el
+++ b/modules/modeline-config.el
@@ -15,7 +15,6 @@
;; No external packages = no buffer issues, no native-comp errors.
;; Features:
-;; - Buffer status (modified, read-only)
;; - Buffer name
;; - Major mode
;; - Version control status
@@ -75,11 +74,9 @@ Example: `my-very-long-name.el' → `my-ver...me.el'"
;; -------------------------- Modeline Segments --------------------------------
(defvar-local cj/modeline-buffer-name
- '(:eval (let* ((color (cj/buffer-status-color (cj/buffer-status-state)))
- (name (buffer-name))
+ '(:eval (let* ((name (buffer-name))
(truncated-name (cj/modeline-string-cut-middle name)))
(propertize truncated-name
- 'face `(:foreground ,color)
'mouse-face 'mode-line-highlight
'help-echo (concat
name "\n"
@@ -89,8 +86,7 @@ Example: `my-very-long-name.el' → `my-ver...me.el'"
(define-key map [mode-line mouse-1] 'previous-buffer)
(define-key map [mode-line mouse-3] 'next-buffer)
map))))
- "Buffer name colored by modification and read-only status.
-White = unmodified, Green = modified, Red = read-only, Gold = overwrite.
+ "Buffer name in the mode line.
Truncates in narrow windows. Click to switch buffers.")
(defvar-local cj/modeline-position