]> git.eshelyaron.com Git - emacs.git/commitdiff
(tar-mode): Set write-contents-hooks instead of
authorKarl Heuer <kwzh@gnu.org>
Thu, 18 May 1995 19:57:15 +0000 (19:57 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 18 May 1995 19:57:15 +0000 (19:57 +0000)
local-write-file-hooks.

lisp/tar-mode.el

index e640797d897abcb5b50a1fa391273ea4c59eecdc..3398b644e69c645e12762c0dcfe9d08f2c7b806c 100644 (file)
@@ -584,8 +584,8 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'.
   (setq mode-name "Tar")
   (use-local-map tar-mode-map)
   (auto-save-mode 0)
-  (make-local-variable 'local-write-file-hooks)
-  (setq local-write-file-hooks '(tar-mode-write-file))
+  (make-local-variable 'write-contents-hooks)
+  (setq write-contents-hooks '(tar-mode-write-file))
   (widen)
   (if (and (boundp 'tar-header-offset) tar-header-offset)
       (narrow-to-region 1 tar-header-offset)