Don't set after-insert-file-adjust-coding-function.
authorKenichi Handa <handa@m17n.org>
Fri, 11 Apr 2003 11:00:36 +0000 (11:00 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 11 Apr 2003 11:00:36 +0000 (11:00 +0000)
(after-insert-file-set-coding): Renamed from
after-insert-file-set-buffer-file-coding-system.

lisp/international/mule.el

index d97b262..8dda6bd 100644 (file)
@@ -1694,7 +1694,7 @@ function by default."
 
 (setq set-auto-coding-function 'set-auto-coding)
 
-(defun after-insert-file-set-buffer-file-coding-system (inserted)
+(defun after-insert-file-set-coding (inserted)
   "Set `buffer-file-coding-system' of current buffer after text is inserted."
   (if last-coding-system-used
       (let ((coding-system
@@ -1717,9 +1717,6 @@ function by default."
          (set-buffer-modified-p modified-p))))
   inserted)
 
-(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.
 ;;     1. That of buffer-file-coding-system locally bound.