changeset 60689:5a0fcfdcc95e

(tar-mode): Turn off undo unconditionally.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Mar 2005 23:58:09 +0000
parents b0de8a447a79
children d23604c1b411
files lisp/tar-mode.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Thu Mar 17 23:56:15 2005 +0000
+++ b/lisp/tar-mode.el	Thu Mar 17 23:58:09 2005 +0000
@@ -579,6 +579,7 @@
   (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))