/[emacs]/emacs/src/keyboard.c
ViewVC logotype

Diff of /emacs/src/keyboard.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.654 by kfstorm, Wed Feb 6 22:59:56 2002 UTC revision 1.655 by rms, Wed Feb 13 16:23:08 2002 UTC
# Line 9623  DEFUN ("recent-keys", Frecent_keys, Srec Line 9623  DEFUN ("recent-keys", Frecent_keys, Srec
9623    
9624  DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0,  DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0,
9625         doc: /* Return the key sequence that invoked this command.         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.
9628  The value is a string or a vector.  */)  The value is a string or a vector.  */)
9629       ()       ()
9630  {  {
# Line 9631  The value is a string or a vector.  */) Line 9633  The value is a string or a vector.  */)
9633  }  }
9634    
9635  DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0,  DEFUN ("this-command-keys-vector", Fthis_command_keys_vector, Sthis_command_keys_vector, 0, 0, 0,
9636         doc: /* Return the key sequence that invoked this command, as a vector.  */)         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.  */)
9639       ()       ()
9640  {  {
9641    return Fvector (this_command_key_count,    return Fvector (this_command_key_count,
# Line 9641  DEFUN ("this-command-keys-vector", Fthis Line 9645  DEFUN ("this-command-keys-vector", Fthis
9645  DEFUN ("this-single-command-keys", Fthis_single_command_keys,  DEFUN ("this-single-command-keys", Fthis_single_command_keys,
9646         Sthis_single_command_keys, 0, 0, 0,         Sthis_single_command_keys, 0, 0, 0,
9647         doc: /* Return the key sequence that invoked this command.         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'.
9650  Unlike `this-command-keys', this function's value  Unlike `this-command-keys', this function's value
9651  does not include prefix arguments.  does not include prefix arguments.
9652  The value is always a vector.  */)  The value is always a vector.  */)
# Line 9655  The value is always a vector.  */) Line 9661  The value is always a vector.  */)
9661  DEFUN ("this-single-command-raw-keys", Fthis_single_command_raw_keys,  DEFUN ("this-single-command-raw-keys", Fthis_single_command_raw_keys,
9662         Sthis_single_command_raw_keys, 0, 0, 0,         Sthis_single_command_raw_keys, 0, 0, 0,
9663         doc: /* Return the raw events that were read for this command.         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'.
9666  Unlike `this-single-command-keys', this function's value  Unlike `this-single-command-keys', this function's value
9667  shows the events before all translations (except for input methods).  shows the events before all translations (except for input methods).
9668  The value is always a vector.  */)  The value is always a vector.  */)
# Line 9688  appears in the echo area and in the valu Line 9696  appears in the echo area and in the valu
9696  DEFUN ("clear-this-command-keys", Fclear_this_command_keys,  DEFUN ("clear-this-command-keys", Fclear_this_command_keys,
9697         Sclear_this_command_keys, 0, 0, 0,         Sclear_this_command_keys, 0, 0, 0,
9698         doc: /* Clear out the vector that `this-command-keys' returns.         doc: /* Clear out the vector that `this-command-keys' returns.
9699  Clear vector containing last 100 events.  */)  Also clear the record of the last 100 events.  */)
9700       ()       ()
9701  {  {
9702    int i;    int i;

Legend:
Removed from v.1.654  
changed lines
  Added in v.1.655

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26