changeset 33088:9d03916282c9

(read_minibuf): Reset the undo history just before starting the recursive-edit.
author Miles Bader <miles@gnu.org>
date Tue, 31 Oct 2000 06:37:31 +0000
parents a72416fbef44
children b5d123c12ce7
files src/minibuf.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Tue Oct 31 04:17:17 2000 +0000
+++ b/src/minibuf.c	Tue Oct 31 06:37:31 2000 +0000
@@ -553,6 +553,9 @@
       && !NILP (Vrun_hooks))
     call1 (Vrun_hooks, Qminibuffer_setup_hook);
 
+  /* Don't allow the user to undo past this point.  */
+  current_buffer->undo_list = Qnil;
+
   recursive_edit_1 ();
 
   /* If cursor is on the minibuffer line,