]> git.eshelyaron.com Git - emacs.git/commitdiff
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 0d96510edf85c3bf2d7c4bdb4bda97d335748d3d..d97b2628e1e645874270a74ed0f8e80acff75f32 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.