Make ansi-color-mode read-only

This commit is contained in:
Ivan Malison 2015-08-24 15:27:05 -07:00
parent d4e8879040
commit 69a605c8fc

View File

@ -7,6 +7,7 @@
"Fundamental mode that understands ansi colors."
(require 'ansi-color)
(ansi-color-apply-on-region (point-min) (point-max))
(save-buffer))
(save-buffer)
(read-only-mode))
(add-to-list 'auto-mode-alist '("\\.ansi_color\\'" . fundamental-ansi-mode))