1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

(read_minibuf): Reset the undo history just before starting the recursive-edit.

This commit is contained in:
Miles Bader 2000-10-31 06:37:58 +00:00
parent dfc064f2b5
commit 4e6b720485
2 changed files with 8 additions and 0 deletions

View 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.

View 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,