]> git.eshelyaron.com Git - emacs.git/commitdiff
(archive-mode): Use write-contents-hooks.
authorKarl Heuer <kwzh@gnu.org>
Fri, 26 Sep 1997 21:39:10 +0000 (21:39 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 26 Sep 1997 21:39:10 +0000 (21:39 +0000)
lisp/arc-mode.el

index 72a5578f38d808f4e5922e3f65a226a787adfea4..767093ef51de5ddd13c701f13d5b9a50568912ba 100644 (file)
@@ -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)