summaryrefslogtreecommitdiff
path: root/lisp/appearance
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/appearance')
-rw-r--r--lisp/appearance/modeline.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/appearance/modeline.el b/lisp/appearance/modeline.el
index eefd80c..53ee967 100644
--- a/lisp/appearance/modeline.el
+++ b/lisp/appearance/modeline.el
@@ -80,8 +80,13 @@ RIGHT aligned respectively."
(concat "%b [%m: "
shell-title
"] [%*] Ln: %l/"
- (number-to-string (1+ (count-lines 1 (point-max))))
- " Col: %c"))
+ (number-to-string (1+ (count-lines 1 (point-max))))
+ " Col: %c"))
+ ((and (eq major-mode 'eww-mode) (boundp 'eww-data))
+ (concat (plist-get eww-data :title)
+ " [%m] [%*] Ln: %l/"
+ (number-to-string (1+ (count-lines 1 (point-max))))
+ " Col: %c"))
(t
(concat "%b [%m] [%*] Ln: %l/"
(number-to-string (1+ (count-lines 1 (point-max))))

© 2015 - 2026 Jakob L. Kreuze