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 [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/tar-mode.el [emacs-unicode-2]
Date: Thu, 04 Nov 2004 04:04:51 -0500

Index: emacs/lisp/tar-mode.el
diff -c emacs/lisp/tar-mode.el:1.92.4.3 emacs/lisp/tar-mode.el:1.92.4.4
*** emacs/lisp/tar-mode.el:1.92.4.3     Thu Oct 14 08:50:01 2004
--- emacs/lisp/tar-mode.el      Thu Nov  4 08:55:37 2004
***************
*** 580,586 ****
    ;; 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) tar-header-offset)
--- 580,586 ----
    ;; 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) tar-header-offset)




reply via email to

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