changeset 50529:6f2a35c77d07

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.
author Kenichi Handa <handa@m17n.org>
date Thu, 10 Apr 2003 11:59:45 +0000
parents dae46d521201
children 987ee3ecc0a8
files lisp/international/mule.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Thu Apr 10 11:57:54 2003 +0000
+++ b/lisp/international/mule.el	Thu Apr 10 11:59:45 2003 +0000
@@ -1717,8 +1717,8 @@
 	  (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.