]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_minibuf): Reset the undo history just before starting the recursive-edit.
authorMiles Bader <miles@gnu.org>
Tue, 31 Oct 2000 06:37:58 +0000 (06:37 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 31 Oct 2000 06:37:58 +0000 (06:37 +0000)
src/ChangeLog
src/minibuf.c

index 93ac28eb816b8dbffb80ed448db6ab6136fed1c4..fd0fac81b21c61bdc80fd48e686c645ab3faf96b 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-31  Miles Bader  <miles@lsi.nec.co.jp>
+
+       * minibuf.c (read_minibuf): Reset the undo history just before
+       starting the recursive-edit.
+
 2000-10-30  Gerd Moellmann  <gerd@gnu.org>
 
        * xfaces.c (menu_face_change_count): New variable.
index 23365c722c8392b5d0a08c1ba5641816c5b4d4c5..29788a39467ed8acca77cbcd061f7eaf5bdaadb1 100644 (file)
@@ -553,6 +553,9 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
       && !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,