1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 06:31:13 -08:00

(format-decode): Don't change buffer's undo list.

This commit is contained in:
Gerd Moellmann 2000-12-04 13:32:26 +00:00
parent 392e96d4e5
commit 021cfbea75

View file

@ -248,7 +248,6 @@ For most purposes, consider using `format-decode-region' instead."
(unwind-protect
(progn
;; Don't record undo information for the decoding.
(setq buffer-undo-list t)
(if (null format)
;; Figure out which format it is in, remember list in `format'.
@ -286,8 +285,8 @@ For most purposes, consider using `format-decode-region' instead."
(if visit-flag
(setq buffer-file-format format)))
(set-buffer-modified-p mod)
(setq buffer-undo-list nil))
(set-buffer-modified-p mod))
;; Return new length of region
(- end begin)))