]> git.eshelyaron.com Git - emacs.git/commitdiff
(recursive_edit_1): Handle a string as the throw value.
authorRichard M. Stallman <rms@gnu.org>
Fri, 13 Sep 1996 18:30:41 +0000 (18:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 13 Sep 1996 18:30:41 +0000 (18:30 +0000)
src/keyboard.c

index 19f8dbb3b57a580c93d57ba1b99a2b3b96fe579c..cb9ce1f9921f7706d90ae7af36d9ca67bc80a98b 100644 (file)
@@ -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);
 }