Mercurial > emacs
changeset 19998:b93ac48bafd1
(archive-mode): Use write-contents-hooks.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 26 Sep 1997 21:39:10 +0000 |
parents | 5b29242aea2a |
children | cc8daec6d363 |
files | lisp/arc-mode.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/arc-mode.el Fri Sep 26 21:26:31 1997 +0000 +++ b/lisp/arc-mode.el Fri Sep 26 21:39:10 1997 +0000 @@ -520,8 +520,8 @@ (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)