diff options
Diffstat (limited to 'lisp/appearance')
| -rw-r--r-- | lisp/appearance/modeline.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/appearance/modeline.el b/lisp/appearance/modeline.el index 4fa1710..9dde6c6 100644 --- a/lisp/appearance/modeline.el +++ b/lisp/appearance/modeline.el @@ -76,6 +76,12 @@ RIGHT aligned respectively." "/" (number-to-string (pdf-cache-number-of-pages)) "]")) + ((and (eq major-mode 'shell-mode) (boundp 'shell-title)) + (concat "%b [%m: " + shell-title + "] [%*] 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)))) |