1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

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.
This commit is contained in:
Kenichi Handa 2003-04-10 11:59:45 +00:00
parent 20412adcc2
commit 8d1d818a10

View File

@ -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.