# HG changeset patch # User Richard M. Stallman # Date 1111103889 0 # Node ID 5a0fcfdcc95ea1a1bfde89ea9e91d9621b22cb6a # Parent b0de8a447a79d7cf9544b9a8bfe0d197bb8899cd (tar-mode): Turn off undo unconditionally. diff -r b0de8a447a79 -r 5a0fcfdcc95e lisp/tar-mode.el --- 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))