From 746e5b16e0d0c2bd51d3077303d496193e9481f0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 6 Jul 2002 14:17:02 +0000 Subject: [PATCH] (rmail-decode-babyl-format): Disable undo around the decode-coding-region call. --- lisp/mail/rmail.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 7895d344377..a2bd399bf8f 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -792,7 +792,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) -- 2.39.5