Make ansi-color-mode read-only
This commit is contained in:
parent
d4e8879040
commit
69a605c8fc
@ -7,6 +7,7 @@
|
|||||||
"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))
|
(save-buffer)
|
||||||
|
(read-only-mode))
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.ansi_color\\'" . fundamental-ansi-mode))
|
(add-to-list 'auto-mode-alist '("\\.ansi_color\\'" . fundamental-ansi-mode))
|
||||||
|
Loading…
Reference in New Issue
Block a user