Mercurial > emacs
comparison src/minibuf.c @ 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 | c3435dc00ed7 |
children | ec99a5f4085e |
comparison
equal
deleted
inserted
replaced
33087:a72416fbef44 | 33088:9d03916282c9 |
---|---|
550 (run-hooks would do nothing if it is empty, | 550 (run-hooks would do nothing if it is empty, |
551 but it's important to save time here in the usual case). */ | 551 but it's important to save time here in the usual case). */ |
552 if (!NILP (Vminibuffer_setup_hook) && !EQ (Vminibuffer_setup_hook, Qunbound) | 552 if (!NILP (Vminibuffer_setup_hook) && !EQ (Vminibuffer_setup_hook, Qunbound) |
553 && !NILP (Vrun_hooks)) | 553 && !NILP (Vrun_hooks)) |
554 call1 (Vrun_hooks, Qminibuffer_setup_hook); | 554 call1 (Vrun_hooks, Qminibuffer_setup_hook); |
555 | |
556 /* Don't allow the user to undo past this point. */ | |
557 current_buffer->undo_list = Qnil; | |
555 | 558 |
556 recursive_edit_1 (); | 559 recursive_edit_1 (); |
557 | 560 |
558 /* If cursor is on the minibuffer line, | 561 /* If cursor is on the minibuffer line, |
559 show the user we have exited by putting it in column 0. */ | 562 show the user we have exited by putting it in column 0. */ |