aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 58edc738d1f..581134f80e1 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1041,7 +1041,7 @@ to make one entry in the kill ring."
1041 ;; ring to share the same string object. This code does that. 1041 ;; ring to share the same string object. This code does that.
1042 ((not (or (eq buffer-undo-list t) 1042 ((not (or (eq buffer-undo-list t)
1043 (eq last-command 'kill-region) 1043 (eq last-command 'kill-region)
1044 (eq beg end))) 1044 (equal beg end)))
1045 ;; Don't let the undo list be truncated before we can even access it. 1045 ;; Don't let the undo list be truncated before we can even access it.
1046 (let ((undo-strong-limit (+ (- (max beg end) (min beg end)) 100)) 1046 (let ((undo-strong-limit (+ (- (max beg end) (min beg end)) 100))
1047 (old-list buffer-undo-list) 1047 (old-list buffer-undo-list)