From cf1f9b9a81606d6fd0e5b2854cdc6e9a2e3e9291 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 11 Jun 2013 08:51:18 -0400 Subject: [PATCH] * lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 as default for Elisp files. --- lisp/ChangeLog | 5 +++++ lisp/international/mule-conf.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f3e6eb18d69..61759162f79 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-06-11 Stefan Monnier + + * international/mule-conf.el (file-coding-system-alist): Use utf-8 as + default for Elisp files. + 2013-06-11 Glenn Morris * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map, diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index a31a90d9cfb..48487b850df 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el @@ -1508,6 +1508,7 @@ for decoding and encoding files, process I/O, etc." (setq file-coding-system-alist (mapcar (lambda (arg) (cons (purecopy (car arg)) (cdr arg))) '(("\\.elc\\'" . utf-8-emacs) + ("\\.el\\'" . utf-8) ("\\.utf\\(-8\\)?\\'" . utf-8) ("\\.xml\\'" . xml-find-file-coding-system) ;; We use raw-text for reading loaddefs.el so that if it -- 2.39.2