summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shadow.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-07-30 11:23:10 +0300
committerEli Zaretskii <eliz@gnu.org>2016-07-30 11:23:10 +0300
commit9c542a23a83d1fc883bd942d805259d061e0d189 (patch)
tree53e3571278f70b29105d314b02f2d6c1832e8c6a /lisp/emacs-lisp/shadow.el
parent4a5b6e621c68172bb69d60fe8a76932f7c779f81 (diff)
downloademacs-9c542a23a83d1fc883bd942d805259d061e0d189.tar.gz
emacs-9c542a23a83d1fc883bd942d805259d061e0d189.tar.bz2
emacs-9c542a23a83d1fc883bd942d805259d061e0d189.zip
Avoid warnings about undo list while decoding
* src/coding.c (coding_restore_undo_list): New function. (decode_coding_gap, decode_coding_object): Temporarily set the buffer's undo list to t, to avoid warnings when decoding changes the buffer many times, e.g. due to post-read-conversion. Use coding_restore_undo_list to make sure the undo list is restored. (Bug#23813)
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
0 files changed, 0 insertions, 0 deletions