From: Gerd Moellmann Date: Mon, 4 Dec 2000 13:32:26 +0000 (+0000) Subject: (format-decode): Don't change buffer's undo list. X-Git-Tag: emacs-pretest-21.0.93~247 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=021cfbea756f926ded84b4d893ff1df7ecd71f99;p=emacs.git (format-decode): Don't change buffer's undo list. --- diff --git a/lisp/format.el b/lisp/format.el index dba7ecbff2a..c1919c24e13 100644 --- a/lisp/format.el +++ b/lisp/format.el @@ -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)))