]> git.eshelyaron.com Git - emacs.git/commitdiff
(undo): Remove left over asserts.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 14 May 2003 00:57:02 +0000 (00:57 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 14 May 2003 00:57:02 +0000 (00:57 +0000)
lisp/simple.el

index f83d096ed640232d93938b98354a1d759861e090..39a34f7f4a338d8855c8b3affef27d210dbc7126 100644 (file)
@@ -993,9 +993,6 @@ as an argument limits undo to changes within the current region."
     ;; undo operation, so we can skip them later on.
     ;; I don't know how to do that in the undo-in-region case.
     (unless undo-in-region
-      (when (eval-when-compile (fboundp 'assert))
-       (assert (or (null pending-undo-list) (car pending-undo-list)))
-       (assert (car buffer-undo-list)))
       (puthash buffer-undo-list pending-undo-list undo-equiv-table))
     ;; Don't specify a position in the undo record for the undo command.
     ;; Instead, undoing this should move point to where the change is.