(rmail-decode-babyl-format): Disable undo around the decode-coding-region call.

This commit is contained in:
Richard M. Stallman 2002-01-11 21:23:40 +00:00
parent 1fa1cb1bf6
commit 19032340d1

View file

@ -790,7 +790,8 @@ Note: it means the file has no messages in it.\n\^_")))
(unless (memq coding-system
'(undecided undecided-unix))
(set-buffer-modified-p t) ; avoid locking when decoding
(decode-coding-region from to coding-system)
(let ((buffer-undo-list t))
(decode-coding-region from to coding-system))
(setq coding-system last-coding-system-used))
(set-buffer-modified-p modifiedp)
(setq buffer-file-coding-system nil)