Sfoglia il codice sorgente

Add narrowed indicator

master
10sr 6 anni fa
parent
commit
820f69597c
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  1. +6
    -2
      emacs.el

+ 6
- 2
emacs.el Vedi 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



Caricamento…
Annulla
Salva