From: Kenichi Handa Date: Thu, 10 Apr 2003 11:59:45 +0000 (+0000) Subject: Set after-insert-file-adjust-coding-function to X-Git-Tag: ttn-vms-21-2-B4~10563 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d1d818a10f982b9c5f905351e0999aa1a0b6dc0;p=emacs.git Set after-insert-file-adjust-coding-function to after-insert-file-set-buffer-file-coding-system instead of adding it to after-insert-file-functions. --- 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.