From: Kenichi Handa Date: Fri, 11 Apr 2003 11:00:36 +0000 (+0000) Subject: Don't set after-insert-file-adjust-coding-function. X-Git-Tag: ttn-vms-21-2-B4~10548 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c36b37ed1b96051f9ebcf0b26039a24a8b55eb5a;p=emacs.git Don't set after-insert-file-adjust-coding-function. (after-insert-file-set-coding): Renamed from after-insert-file-set-buffer-file-coding-system. --- diff --git a/lisp/international/mule.el b/lisp/international/mule.el index d97b2628e1e..8dda6bd0e7c 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -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.