changeset 50987:2136c00d7221

(undo): Remove left over asserts.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 14 May 2003 00:57:02 +0000
parents a122df88ba3f
children f4923c2899b6
files lisp/simple.el
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue May 13 21:43:08 2003 +0000
+++ b/lisp/simple.el	Wed May 14 00:57:02 2003 +0000
@@ -993,9 +993,6 @@
     ;; 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.