diff options
| -rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index d7512a36ac2..ac917a10550 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1684,7 +1684,7 @@ This finishes the change group by reverting all of its changes." | |||
| 1684 | (when (and (consp elt) (not (eq elt (last pending-undo-list)))) | 1684 | (when (and (consp elt) (not (eq elt (last pending-undo-list)))) |
| 1685 | (error "Undoing to some unrelated state")) | 1685 | (error "Undoing to some unrelated state")) |
| 1686 | ;; Undo it all. | 1686 | ;; Undo it all. |
| 1687 | (while pending-undo-list (undo-more 1)) | 1687 | (while (listp pending-undo-list) (undo-more 1)) |
| 1688 | ;; Reset the modified cons cell ELT to its original content. | 1688 | ;; Reset the modified cons cell ELT to its original content. |
| 1689 | (when (consp elt) | 1689 | (when (consp elt) |
| 1690 | (setcar elt old-car) | 1690 | (setcar elt old-car) |