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:
parent
392e96d4e5
commit
021cfbea75
1 changed files with 2 additions and 3 deletions
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue