changeset 50547:589dbff3b754

Don't set after-insert-file-adjust-coding-function. (after-insert-file-set-coding): Renamed from after-insert-file-set-buffer-file-coding-system.
author Kenichi Handa <handa@m17n.org>
date Fri, 11 Apr 2003 11:00:36 +0000
parents 4a06e3332577
children 706cf77805ad
files lisp/international/mule.el
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Fri Apr 11 10:59:02 2003 +0000
+++ b/lisp/international/mule.el	Fri Apr 11 11:00:36 2003 +0000
@@ -1694,7 +1694,7 @@
 
 (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 @@
 	  (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.