(Fy_or_n_p): Handle exit-prefix in query-replace-map.
authorRichard M. Stallman <rms@gnu.org>
Wed, 23 Nov 1994 09:11:30 +0000 (09:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 23 Nov 1994 09:11:30 +0000 (09:11 +0000)
src/fns.c

index 0ef7ed3..c08d836 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -1202,6 +1202,10 @@ Also accepts Space to mean yes, or Delete to mean no.")
        }
       else if (EQ (def, intern ("quit")))
        Vquit_flag = Qt;
+      /* We want to exit this command for exit-prefix,
+        and this is the only way to do it.  */
+      else if (EQ (def, intern ("exit-prefix")))
+       Vquit_flag = Qt;
 
       QUIT;