Skip to content

Commit 7b0c78e

Browse files
aatxeblerner
authored andcommitted
pyret-mode now sets .arr files to UTF-8.
1 parent 5b436b7 commit 7b0c78e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/emacs/pyret.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,6 +1832,8 @@ in (nil if we're not in a string).")
18321832

18331833
;; Automatically enable pyret-mode on .arr files.
18341834
(add-to-list 'auto-mode-alist '("\\.arr\\'" . pyret-mode))
1835+
;; Pyret files are UTF-8.
1836+
(add-to-list 'file-coding-system-alist '("\\.arr\\'" . utf-8-unix))
18351837

18361838
(provide 'pyret)
18371839

0 commit comments

Comments
 (0)