changeset 16181:de4b3d40218f

(recursive_edit_1): Handle a string as the throw value.
author Richard M. Stallman <rms@gnu.org>
date Fri, 13 Sep 1996 18:30:41 +0000
parents 9b0180c495ff
children 054e17dc5712
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri Sep 13 18:25:17 1996 +0000
+++ b/src/keyboard.c	Fri Sep 13 18:30:41 1996 +0000
@@ -750,6 +750,10 @@
   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);
 }