]> git.eshelyaron.com Git - emacs.git/commitdiff
(tar-mode): Turn off undo unconditionally.
authorRichard M. Stallman <rms@gnu.org>
Thu, 17 Mar 2005 23:58:09 +0000 (23:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 17 Mar 2005 23:58:09 +0000 (23:58 +0000)
lisp/tar-mode.el

index 6bf2df158749f2d3cbd5feb5a15b27efb97ddde2..51042f8aa5479ab650535cd7316f65cbb49430e9 100644 (file)
@@ -579,6 +579,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) (byte-to-position tar-header-offset))