diff options
| author | Richard M. Stallman | 1995-01-24 22:13:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-24 22:13:42 +0000 |
| commit | 1989e7bccb387003e85a6fd789a5c230053018c6 (patch) | |
| tree | d2ea28cfdbffe42edd6423b35c871bc7678e7097 /src | |
| parent | 309b0fc8c67d9fe7a81b357651e8b10e80997335 (diff) | |
| download | emacs-1989e7bccb387003e85a6fd789a5c230053018c6.tar.gz emacs-1989e7bccb387003e85a6fd789a5c230053018c6.zip | |
(Fcall_interactively): Define K mostly like k.
Pass new arg to Fread_key_sequence.
Diffstat (limited to 'src')
| -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.") | |||
| 462 | Qnil, Qnil, Qnil, Qnil); | 462 | Qnil, Qnil, Qnil, Qnil); |
| 463 | break; | 463 | break; |
| 464 | 464 | ||
| 465 | case 'k': /* Key sequence (string) */ | 465 | case 'k': /* Key sequence. */ |
| 466 | args[i] = Fread_key_sequence (build_string (prompt), Qnil); | 466 | args[i] = Fread_key_sequence (build_string (prompt), Qnil, Qnil); |
| 467 | teml = args[i]; | ||
| 468 | visargs[i] = Fkey_description (teml); | ||
| 469 | break; | ||
| 470 | |||
| 471 | case 'K': /* Key sequence to be defined. */ | ||
| 472 | args[i] = Fread_key_sequence (build_string (prompt), Qnil, Qt); | ||
| 467 | teml = args[i]; | 473 | teml = args[i]; |
| 468 | visargs[i] = Fkey_description (teml); | 474 | visargs[i] = Fkey_description (teml); |
| 469 | break; | 475 | break; |