Mercurial > emacs
changeset 34170:019ee6a5a637
(format-decode): Don't change buffer's undo list.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 04 Dec 2000 13:32:26 +0000 |
parents | 0fec18127c71 |
children | 61c508390aa6 |
files | lisp/format.el |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/format.el Mon Dec 04 13:31:13 2000 +0000 +++ b/lisp/format.el Mon Dec 04 13:32:26 2000 +0000 @@ -248,7 +248,6 @@ (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 @@ (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)))