mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(tar-mode): Turn off undo unconditionally.
This commit is contained in:
parent
f22c36d3a0
commit
03b0079599
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user