Mercurial > emacs
changeset 36530:c98e0f6d63f2
(read_minibuf): Clean up the binding stack if
called noninteractively.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 05 Mar 2001 11:29:51 +0000 |
parents | 1d2207455353 |
children | aa4662e29968 |
files | src/minibuf.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/minibuf.c Mon Mar 05 11:28:47 2001 +0000 +++ b/src/minibuf.c Mon Mar 05 11:29:51 2001 +0000 @@ -397,9 +397,12 @@ } if (noninteractive) - return read_minibuf_noninteractive (map, initial, prompt, backup_n, - expflag, histvar, histpos, defalt, - allow_props, inherit_input_method); + { + val = read_minibuf_noninteractive (map, initial, prompt, backup_n, + expflag, histvar, histpos, defalt, + allow_props, inherit_input_method); + return unbind_to (count, val); + } /* Choose the minibuffer window and frame, and take action on them. */