summaryrefslogtreecommitdiff
path: root/lisp/international
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2003-04-10 11:59:45 +0000
committerKenichi Handa <handa@m17n.org>2003-04-10 11:59:45 +0000
commit8d1d818a10f982b9c5f905351e0999aa1a0b6dc0 (patch)
tree2ce49e597e1811babd57b48e2b4c89f174c827ba /lisp/international
parent20412adcc246a6baf74f1b454b00d3c478beac96 (diff)
downloademacs-8d1d818a10f982b9c5f905351e0999aa1a0b6dc0.tar.gz
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.
Diffstat (limited to 'lisp/international')
-rw-r--r--lisp/international/mule.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 0d96510edf8..d97b2628e1e 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1717,8 +1717,8 @@ function by default."
(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.