diff lisp/tar-mode.el @ 57747:97a3201f82ef

(tar-mode): Use write-contents-functions, not write-contents-hooks.
author Richard M. Stallman <rms@gnu.org>
date Wed, 27 Oct 2004 17:40:19 +0000
parents a698ac56864a
children 7042d543a356 e24e2e78deda
line wrap: on
line diff
--- a/lisp/tar-mode.el	Wed Oct 27 15:07:06 2004 +0000
+++ b/lisp/tar-mode.el	Wed Oct 27 17:40:19 2004 +0000
@@ -578,7 +578,7 @@
   ;; Prevent loss of data when saving the file.
   (set (make-local-variable 'file-precious-flag) t)
   (auto-save-mode 0)
-  (set (make-local-variable 'write-contents-hooks) '(tar-mode-write-file))
+  (set (make-local-variable 'write-contents-functions) '(tar-mode-write-file))
   (widen)
   (if (and (boundp 'tar-header-offset) tar-header-offset)
       (narrow-to-region (point-min) (byte-to-position tar-header-offset))