From: Karl Heuer Date: Thu, 18 May 1995 19:57:15 +0000 (+0000) Subject: (tar-mode): Set write-contents-hooks instead of X-Git-Tag: emacs-19.34~4011 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a0341b21a63d2c8be95d6f3b22588aaabdb84ea;p=emacs.git (tar-mode): Set write-contents-hooks instead of local-write-file-hooks. --- 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)