aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-02-13 16:23:08 +0000
committerRichard M. Stallman2002-02-13 16:23:08 +0000
commit925016524854e94ae41e2243734a232435c3dece (patch)
treef25be844d7f82501b09d392a0c17222131470004 /src
parent33565969fc0a41b461449d9b83bc9eb0ca5ba674 (diff)
downloademacs-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.c12
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
9624DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0, 9624DEFUN ("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.
9626However, if the command has called `read-key-sequence', it returns
9627the the last key sequence that has been read.
9626The value is a string or a vector. */) 9628The 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
9633DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0, 9635DEFUN ("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.
9637However, if the command has called `read-key-sequence', it returns
9638the 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
9641DEFUN ("this-single-command-keys", Fthis_single_command_keys, 9645DEFUN ("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.
9648More generally, it returns the last key sequence read, either by
9649the command loop or by `read-key-sequence'.
9644Unlike `this-command-keys', this function's value 9650Unlike `this-command-keys', this function's value
9645does not include prefix arguments. 9651does not include prefix arguments.
9646The value is always a vector. */) 9652The value is always a vector. */)
@@ -9655,6 +9661,8 @@ The value is always a vector. */)
9655DEFUN ("this-single-command-raw-keys", Fthis_single_command_raw_keys, 9661DEFUN ("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.
9664More generally, it returns the last key sequence read, either by
9665the command loop or by `read-key-sequence'.
9658Unlike `this-single-command-keys', this function's value 9666Unlike `this-single-command-keys', this function's value
9659shows the events before all translations (except for input methods). 9667shows the events before all translations (except for input methods).
9660The value is always a vector. */) 9668The value is always a vector. */)
@@ -9688,7 +9696,7 @@ appears in the echo area and in the value of `this-command-keys'. */)
9688DEFUN ("clear-this-command-keys", Fclear_this_command_keys, 9696DEFUN ("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.
9691Clear vector containing last 100 events. */) 9699Also clear the record of the last 100 events. */)
9692 () 9700 ()
9693{ 9701{
9694 int i; 9702 int i;