aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-17 23:58:09 +0000
committerRichard M. Stallman2005-03-17 23:58:09 +0000
commit03b007959972c28838e841cac1be458af77083b0 (patch)
tree9c17eff731ada52f200c29704f246f21b1ccd01c
parentf22c36d3a0def98336324361a539b8b59f5ec506 (diff)
downloademacs-03b007959972c28838e841cac1be458af77083b0.tar.gz
emacs-03b007959972c28838e841cac1be458af77083b0.zip
(tar-mode): Turn off undo unconditionally.
-rw-r--r--lisp/tar-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 6bf2df15874..51042f8aa54 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -579,6 +579,7 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'.
579 (set (make-local-variable 'file-precious-flag) t) 579 (set (make-local-variable 'file-precious-flag) t)
580 (auto-save-mode 0) 580 (auto-save-mode 0)
581 (set (make-local-variable 'write-contents-functions) '(tar-mode-write-file)) 581 (set (make-local-variable 'write-contents-functions) '(tar-mode-write-file))
582 (buffer-disable-undo)
582 (widen) 583 (widen)
583 (if (and (boundp 'tar-header-offset) tar-header-offset) 584 (if (and (boundp 'tar-header-offset) tar-header-offset)
584 (narrow-to-region (point-min) (byte-to-position tar-header-offset)) 585 (narrow-to-region (point-min) (byte-to-position tar-header-offset))