changeset 11847:c5cf8807738b

(tar-mode): Set write-contents-hooks instead of local-write-file-hooks.
author Karl Heuer <kwzh@gnu.org>
date Thu, 18 May 1995 19:57:15 +0000
parents 778a35aba3f7
children 1a50b9d542ce
files lisp/tar-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Thu May 18 19:50:57 1995 +0000
+++ b/lisp/tar-mode.el	Thu May 18 19:57:15 1995 +0000
@@ -584,8 +584,8 @@
   (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)