summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-03-03 01:51:09 +0000
committerKarl Heuer <kwzh@gnu.org>1995-03-03 01:51:09 +0000
commit44820cc38c9b329d3821ea69ca1989f7634fa935 (patch)
tree1ac6b919a2ede5847aaecc45d31bbb2b016ded07
parentce98e6086f7083634445f3aaefcbea3b1dcd4fa4 (diff)
downloademacs-44820cc38c9b329d3821ea69ca1989f7634fa935.tar.gz
emacs-44820cc38c9b329d3821ea69ca1989f7634fa935.tar.bz2
emacs-44820cc38c9b329d3821ea69ca1989f7634fa935.zip
(Fcall_interactively): Disallow switch-frame events when reading `k' or `K'
specification.
-rw-r--r--src/callint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c
index 93ecf3b7feb..be3517efcd4 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -476,13 +476,13 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
break;
case 'k': /* Key sequence. */
- args[i] = Fread_key_sequence (build_string (prompt), Qnil, Qnil);
+ args[i] = Fread_key_sequence (build_string (prompt), Qnil, Qnil, Qnil);
teml = args[i];
visargs[i] = Fkey_description (teml);
break;
case 'K': /* Key sequence to be defined. */
- args[i] = Fread_key_sequence (build_string (prompt), Qnil, Qt);
+ args[i] = Fread_key_sequence (build_string (prompt), Qnil, Qt, Qnil);
teml = args[i];
visargs[i] = Fkey_description (teml);
break;