]> code.delx.au - gnu-emacs/blobdiff - lisp/tar-mode.el
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
[gnu-emacs] / lisp / tar-mode.el
index c6b732da9f33e917fd49aefa3bc739e1c5bfb0b4..91b81c6dece74889ebd5dcbe5d54026686b67fc4 100644 (file)
@@ -581,6 +581,7 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'.
   (set (make-local-variable 'file-precious-flag) t)
   (auto-save-mode 0)
   (set (make-local-variable 'write-contents-functions) '(tar-mode-write-file))
+  (buffer-disable-undo)
   (widen)
   (if (and (boundp 'tar-header-offset) tar-header-offset)
       (narrow-to-region (point-min) tar-header-offset)