(read_minibuf): Clean up the binding stack if

called noninteractively.
This commit is contained in:
Gerd Moellmann 2001-03-05 11:30:18 +00:00
parent 278dd6ac28
commit c28b847bfe
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2001-03-05 Gerd Moellmann <gerd@gnu.org>
* minibuf.c (read_minibuf): Clean up the binding stack if
called noninteractively.
2001-03-05 Kenichi Handa <handa@etl.go.jp>
* coding.c (syms_of_coding): Docstring modified.

View file

@ -397,9 +397,12 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
}
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. */