emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/tar-mode.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/tar-mode.el
Date: Wed, 27 Oct 2004 13:46:30 -0400

Index: emacs/lisp/tar-mode.el
diff -c emacs/lisp/tar-mode.el:1.96 emacs/lisp/tar-mode.el:1.97
*** emacs/lisp/tar-mode.el:1.96 Fri Oct  8 17:31:51 2004
--- emacs/lisp/tar-mode.el      Wed Oct 27 17:40:19 2004
***************
*** 578,584 ****
    ;; 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))
    (widen)
    (if (and (boundp 'tar-header-offset) tar-header-offset)
        (narrow-to-region (point-min) (byte-to-position tar-header-offset))
--- 578,584 ----
    ;; 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-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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]