diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-01-24 22:13:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-01-24 22:13:42 +0000 |
commit | 1989e7bccb387003e85a6fd789a5c230053018c6 (patch) | |
tree | d2ea28cfdbffe42edd6423b35c871bc7678e7097 | |
parent | 309b0fc8c67d9fe7a81b357651e8b10e80997335 (diff) | |
download | emacs-1989e7bccb387003e85a6fd789a5c230053018c6.tar.gz |
(Fcall_interactively): Define K mostly like k.
Pass new arg to Fread_key_sequence.
-rw-r--r-- | src/callint.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c index 3de79be2a39..a6c5570bb3a 100644 --- a/src/callint.c +++ b/src/callint.c @@ -462,8 +462,14 @@ Otherwise, this is done only if an arg is read using the minibuffer.") Qnil, Qnil, Qnil, Qnil); break; - case 'k': /* Key sequence (string) */ - args[i] = Fread_key_sequence (build_string (prompt), Qnil); + case 'k': /* Key sequence. */ + args[i] = Fread_key_sequence (build_string (prompt), 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); teml = args[i]; visargs[i] = Fkey_description (teml); break; |