save-buffer after applying ansi-color-apply-on-region

This commit is contained in:
Ivan Malison 2015-08-19 13:28:58 -07:00
parent 0498f1c97f
commit 7475c09c14

View File

@ -6,6 +6,7 @@
(define-derived-mode fundamental-ansi-mode fundamental-mode "fundamental ansi" (define-derived-mode fundamental-ansi-mode fundamental-mode "fundamental ansi"
"Fundamental mode that understands ansi colors." "Fundamental mode that understands ansi colors."
(require 'ansi-color) (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)) (add-to-list 'auto-mode-alist '("\\.ansi_color\\'" . fundamental-ansi-mode))