summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/mule.el5
1 files changed, 1 insertions, 4 deletions
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.