Browse Source

Add narrowed indicator

master
10sr 6 years ago
parent
commit
820f69597c
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      emacs.el

+ 6
- 2
emacs.el View File

@@ -425,9 +425,13 @@ found, otherwise returns nil."
(column-number-mode 0)
(size-indication-mode 0)
(setq mode-line-position
'(:eval (format "L%%l/%d:C%%c"
'(:eval (format "L%%l/%d%s:C%%c"
(count-lines (point-max)
(point-min)))))
(point-min))
(if (buffer-narrowed-p)
"[N]"
"")
)))

;; http://www.geocities.jp/simizu_daisuke/bunkei-meadow.html#frame-title



Loading…
Cancel
Save