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 [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/tar-mode.el [lexbind]
Date: Thu, 28 Oct 2004 22:27:41 -0400

Index: emacs/lisp/tar-mode.el
diff -c emacs/lisp/tar-mode.el:1.88.2.4 emacs/lisp/tar-mode.el:1.88.2.5
*** emacs/lisp/tar-mode.el:1.88.2.4     Mon Oct 25 04:19:40 2004
--- emacs/lisp/tar-mode.el      Fri Oct 29 02:05:09 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]