diff options
| author | Richard M. Stallman | 2002-02-13 16:23:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-02-13 16:23:08 +0000 |
| commit | 925016524854e94ae41e2243734a232435c3dece (patch) | |
| tree | f25be844d7f82501b09d392a0c17222131470004 /src | |
| parent | 33565969fc0a41b461449d9b83bc9eb0ca5ba674 (diff) | |
| download | emacs-925016524854e94ae41e2243734a232435c3dece.tar.gz emacs-925016524854e94ae41e2243734a232435c3dece.zip | |
(Fthis_command_keys, Fthis_command_keys_vector)
(Fthis_single_command_keys, Fthis_single_command_raw_keys)
(Fclear_this_command_keys): Doc fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 44976d9bbed..0a20f3d2cbb 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -9623,6 +9623,8 @@ DEFUN ("recent-keys", Frecent_keys, Srecent_keys, 0, 0, 0, | |||
| 9623 | 9623 | ||
| 9624 | DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0, | 9624 | DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0, |
| 9625 | doc: /* Return the key sequence that invoked this command. | 9625 | doc: /* Return the key sequence that invoked this command. |
| 9626 | However, if the command has called `read-key-sequence', it returns | ||
| 9627 | the the last key sequence that has been read. | ||
| 9626 | The value is a string or a vector. */) | 9628 | The value is a string or a vector. */) |
| 9627 | () | 9629 | () |
| 9628 | { | 9630 | { |
| @@ -9631,7 +9633,9 @@ The value is a string or a vector. */) | |||
| 9631 | } | 9633 | } |
| 9632 | 9634 | ||
| 9633 | DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0, | 9635 | DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0, |
| 9634 | doc: /* Return the key sequence that invoked this command, as a vector. */) | 9636 | doc: /* Return the key sequence that invoked this command, as a vector. |
| 9637 | However, if the command has called `read-key-sequence', it returns | ||
| 9638 | the the last key sequence that has been read. */) | ||
| 9635 | () | 9639 | () |
| 9636 | { | 9640 | { |
| 9637 | return Fvector (this_command_key_count, | 9641 | return Fvector (this_command_key_count, |
| @@ -9641,6 +9645,8 @@ DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys | |||
| 9641 | DEFUN ("this-single-command-keys", Fthis_single_command_keys, | 9645 | DEFUN ("this-single-command-keys", Fthis_single_command_keys, |
| 9642 | Sthis_single_command_keys, 0, 0, 0, | 9646 | Sthis_single_command_keys, 0, 0, 0, |
| 9643 | doc: /* Return the key sequence that invoked this command. | 9647 | doc: /* Return the key sequence that invoked this command. |
| 9648 | More generally, it returns the last key sequence read, either by | ||
| 9649 | the command loop or by `read-key-sequence'. | ||
| 9644 | Unlike `this-command-keys', this function's value | 9650 | Unlike `this-command-keys', this function's value |
| 9645 | does not include prefix arguments. | 9651 | does not include prefix arguments. |
| 9646 | The value is always a vector. */) | 9652 | The value is always a vector. */) |
| @@ -9655,6 +9661,8 @@ The value is always a vector. */) | |||
| 9655 | DEFUN ("this-single-command-raw-keys", Fthis_single_command_raw_keys, | 9661 | DEFUN ("this-single-command-raw-keys", Fthis_single_command_raw_keys, |
| 9656 | Sthis_single_command_raw_keys, 0, 0, 0, | 9662 | Sthis_single_command_raw_keys, 0, 0, 0, |
| 9657 | doc: /* Return the raw events that were read for this command. | 9663 | doc: /* Return the raw events that were read for this command. |
| 9664 | More generally, it returns the last key sequence read, either by | ||
| 9665 | the command loop or by `read-key-sequence'. | ||
| 9658 | Unlike `this-single-command-keys', this function's value | 9666 | Unlike `this-single-command-keys', this function's value |
| 9659 | shows the events before all translations (except for input methods). | 9667 | shows the events before all translations (except for input methods). |
| 9660 | The value is always a vector. */) | 9668 | The value is always a vector. */) |
| @@ -9688,7 +9696,7 @@ appears in the echo area and in the value of `this-command-keys'. */) | |||
| 9688 | DEFUN ("clear-this-command-keys", Fclear_this_command_keys, | 9696 | DEFUN ("clear-this-command-keys", Fclear_this_command_keys, |
| 9689 | Sclear_this_command_keys, 0, 0, 0, | 9697 | Sclear_this_command_keys, 0, 0, 0, |
| 9690 | doc: /* Clear out the vector that `this-command-keys' returns. | 9698 | doc: /* Clear out the vector that `this-command-keys' returns. |
| 9691 | Clear vector containing last 100 events. */) | 9699 | Also clear the record of the last 100 events. */) |
| 9692 | () | 9700 | () |
| 9693 | { | 9701 | { |
| 9694 | int i; | 9702 | int i; |