Set after-insert-file-adjust-coding-function to
authorKenichi Handa <handa@m17n.org>
Thu, 10 Apr 2003 11:59:45 +0000 (11:59 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 10 Apr 2003 11:59:45 +0000 (11:59 +0000)
after-insert-file-set-buffer-file-coding-system instead of adding it
to after-insert-file-functions.

lisp/international/mule.el

index 0d96510..d97b262 100644 (file)
@@ -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.