From 03b007959972c28838e841cac1be458af77083b0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 17 Mar 2005 23:58:09 +0000 Subject: [PATCH] (tar-mode): Turn off undo unconditionally. --- lisp/tar-mode.el | 1 + 1 file changed, 1 insertion(+) 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'. (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)) -- 2.39.2