changeset 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 394f5aa03475
children a5bb249b0f3b
files lisp/tar-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))