summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-13 18:30:41 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-13 18:30:41 +0000
commit98c9b0650fcd04cd4b6e54f9cc846e328adcee63 (patch)
tree847aa889d0632d20c8d360fe677dc1bc479ca973 /src/keyboard.c
parenta93fc4f1323cbd354957943db98a12ae231ec5c2 (diff)
downloademacs-98c9b0650fcd04cd4b6e54f9cc846e328adcee63.tar.gz
(recursive_edit_1): Handle a string as the throw value.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 19f8dbb3b57..cb9ce1f9921 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -750,6 +750,10 @@ recursive_edit_1 ()
val = command_loop ();
if (EQ (val, Qt))
Fsignal (Qquit, Qnil);
+ /* Handle throw from read_minibuf when using minibuffer
+ while it's active but we're in another window. */
+ if (STRINGP (val))
+ Fsignal (Qerror, Fcons (val, Qnil));
return unbind_to (count, Qnil);
}