]> git.eshelyaron.com Git - emacs.git/commit
* lisp/subr.el (cancel-change-group): Fix bug#39680
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Mar 2020 14:01:54 +0000 (10:01 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Mar 2020 14:01:54 +0000 (10:01 -0400)
commitc1ce9fa7f2b1d88637e8d8f03f08d8ddd2ff9e4a
tree832e787a40ded8840643397446873d6357e4ea34
parentef5744a988f299c1b8b4726ee0d5bf9c1c1074f5
* lisp/subr.el (cancel-change-group): Fix bug#39680

Don't re-use an existing `pending-undo-list` even if (eq last-command 'undo)
since there might have been changes to the buffer since that `undo` command
and the `pending-undo-list` can hence be invalid for the current
buffer contents.
lisp/subr.el