[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/keyboard.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/keyboard.c |
Date: |
Wed, 13 Feb 2002 11:23:09 -0500 |
Index: emacs/src/keyboard.c
diff -c emacs/src/keyboard.c:1.654 emacs/src/keyboard.c:1.655
*** emacs/src/keyboard.c:1.654 Wed Feb 6 17:59:56 2002
--- emacs/src/keyboard.c Wed Feb 13 11:23:08 2002
***************
*** 9623,9628 ****
--- 9623,9630 ----
DEFUN ("this-command-keys", Fthis_command_keys, Sthis_command_keys, 0, 0, 0,
doc: /* Return the key sequence that invoked this command.
+ However, if the command has called `read-key-sequence', it returns
+ the the last key sequence that has been read.
The value is a string or a vector. */)
()
{
***************
*** 9631,9637 ****
}
DEFUN ("this-command-keys-vector", Fthis_command_keys_vector,
Sthis_command_keys_vector, 0, 0, 0,
! doc: /* Return the key sequence that invoked this command, as a
vector. */)
()
{
return Fvector (this_command_key_count,
--- 9633,9641 ----
}
DEFUN ("this-command-keys-vector", Fthis_command_keys_vector,
Sthis_command_keys_vector, 0, 0, 0,
! doc: /* Return the key sequence that invoked this command, as a vector.
! However, if the command has called `read-key-sequence', it returns
! the the last key sequence that has been read. */)
()
{
return Fvector (this_command_key_count,
***************
*** 9641,9646 ****
--- 9645,9652 ----
DEFUN ("this-single-command-keys", Fthis_single_command_keys,
Sthis_single_command_keys, 0, 0, 0,
doc: /* Return the key sequence that invoked this command.
+ More generally, it returns the last key sequence read, either by
+ the command loop or by `read-key-sequence'.
Unlike `this-command-keys', this function's value
does not include prefix arguments.
The value is always a vector. */)
***************
*** 9655,9660 ****
--- 9661,9668 ----
DEFUN ("this-single-command-raw-keys", Fthis_single_command_raw_keys,
Sthis_single_command_raw_keys, 0, 0, 0,
doc: /* Return the raw events that were read for this command.
+ More generally, it returns the last key sequence read, either by
+ the command loop or by `read-key-sequence'.
Unlike `this-single-command-keys', this function's value
shows the events before all translations (except for input methods).
The value is always a vector. */)
***************
*** 9688,9694 ****
DEFUN ("clear-this-command-keys", Fclear_this_command_keys,
Sclear_this_command_keys, 0, 0, 0,
doc: /* Clear out the vector that `this-command-keys' returns.
! Clear vector containing last 100 events. */)
()
{
int i;
--- 9696,9702 ----
DEFUN ("clear-this-command-keys", Fclear_this_command_keys,
Sclear_this_command_keys, 0, 0, 0,
doc: /* Clear out the vector that `this-command-keys' returns.
! Also clear the record of the last 100 events. */)
()
{
int i;
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Pavel Janík, 2002/02/02
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Pavel Janík, 2002/02/06
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Kim F. Storm, 2002/02/06
- [Emacs-diffs] Changes to emacs/src/keyboard.c,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Pavel Janík, 2002/02/16
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Kim F. Storm, 2002/02/20
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Kim F. Storm, 2002/02/20
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Kim F. Storm, 2002/02/23
- [Emacs-diffs] Changes to emacs/src/keyboard.c, Kenichi Handa, 2002/02/28