diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/international/mule.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 0d96510edf8..d97b2628e1e 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -1717,8 +1717,8 @@ function by default." (set-buffer-modified-p modified-p)))) inserted) -(add-hook 'after-insert-file-functions - 'after-insert-file-set-buffer-file-coding-system) +(setq after-insert-file-adjust-coding-function + 'after-insert-file-set-buffer-file-coding-system) ;; The coding-spec and eol-type of coding-system returned is decided ;; independently in the following order. |