forked from colonelpanic/dotfiles
save-buffer after applying ansi-color-apply-on-region
This commit is contained in:
parent
0498f1c97f
commit
7475c09c14
@ -6,6 +6,7 @@
|
||||
(define-derived-mode fundamental-ansi-mode fundamental-mode "fundamental ansi"
|
||||
"Fundamental mode that understands ansi colors."
|
||||
(require 'ansi-color)
|
||||
(ansi-color-apply-on-region (point-min) (point-max)))
|
||||
(ansi-color-apply-on-region (point-min) (point-max))
|
||||
(save-buffer))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.ansi_color\\'" . fundamental-ansi-mode))
|
||||
|
Loading…
Reference in New Issue
Block a user