From 9a0341b21a63d2c8be95d6f3b22588aaabdb84ea Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 18 May 1995 19:57:15 +0000 Subject: [PATCH] (tar-mode): Set write-contents-hooks instead of local-write-file-hooks. --- lisp/tar-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index e640797d897..3398b644e69 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el @@ -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) -- 2.39.2