aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el4
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3b5a19197bc..69f537f916c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-01-11 Richard Stallman <rms@gnu.org>
2
3 * subr.el (atomic-change-group): Prevent undo list truncation.
4
12008-01-11 Martin Rudalics <rudalics@gmx.at> 52008-01-11 Martin Rudalics <rudalics@gmx.at>
2 6
3 * cus-start.el (all): Add missing version entries. 7 * cus-start.el (all): Add missing version entries.
diff --git a/lisp/subr.el b/lisp/subr.el
index a9674bbba36..b4bd4a0150c 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1802,6 +1802,10 @@ user can undo the change normally."
1802 (let ((handle (make-symbol "--change-group-handle--")) 1802 (let ((handle (make-symbol "--change-group-handle--"))
1803 (success (make-symbol "--change-group-success--"))) 1803 (success (make-symbol "--change-group-success--")))
1804 `(let ((,handle (prepare-change-group)) 1804 `(let ((,handle (prepare-change-group))
1805 ;; Don't truncate any undo data in the middle of this.
1806 (undo-outer-limit nil)
1807 (undo-limit most-positive-fixnum)
1808 (undo-strong-limit most-positive-fixnum)
1805 (,success nil)) 1809 (,success nil))
1806 (unwind-protect 1810 (unwind-protect
1807 (progn 1811 (progn