aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2003-05-14 00:57:02 +0000
committerStefan Monnier2003-05-14 00:57:02 +0000
commitc86c975de6cb7f56c7a54daee73177500a78b85b (patch)
tree01396966afc464e76fe003c844ff67e74cc6eb47
parent2d045c916bbe4e653da1200b0c1ca71538d9f1bd (diff)
downloademacs-c86c975de6cb7f56c7a54daee73177500a78b85b.tar.gz
emacs-c86c975de6cb7f56c7a54daee73177500a78b85b.zip
(undo): Remove left over asserts.
-rw-r--r--lisp/simple.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index f83d096ed64..39a34f7f4a3 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -993,9 +993,6 @@ as an argument limits undo to changes within the current region."
993 ;; undo operation, so we can skip them later on. 993 ;; undo operation, so we can skip them later on.
994 ;; I don't know how to do that in the undo-in-region case. 994 ;; I don't know how to do that in the undo-in-region case.
995 (unless undo-in-region 995 (unless undo-in-region
996 (when (eval-when-compile (fboundp 'assert))
997 (assert (or (null pending-undo-list) (car pending-undo-list)))
998 (assert (car buffer-undo-list)))
999 (puthash buffer-undo-list pending-undo-list undo-equiv-table)) 996 (puthash buffer-undo-list pending-undo-list undo-equiv-table))
1000 ;; Don't specify a position in the undo record for the undo command. 997 ;; Don't specify a position in the undo record for the undo command.
1001 ;; Instead, undoing this should move point to where the change is. 998 ;; Instead, undoing this should move point to where the change is.