Commit 2c1e5f9b authored by Karl Heuer's avatar Karl Heuer
Browse files

(archive-mode): Use write-contents-hooks.

parent 1ea275c0
......@@ -520,8 +520,8 @@ archive.
(make-local-variable 'revert-buffer-function)
(setq revert-buffer-function 'archive-mode-revert)
(auto-save-mode 0)
(make-local-variable 'local-write-file-hooks)
(add-hook 'local-write-file-hooks 'archive-write-file)
(make-local-variable 'write-contents-hooks)
(add-hook 'write-contents-hooks 'archive-write-file)
;; Real file contents is binary
(make-local-variable 'require-final-newline)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment