diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 34fc9f6aead..1a41affc58f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -142,10 +142,10 @@ KBOARD the_only_kboard; | |||
| 142 | do not execute it; call disabled-command-function's value instead. */ | 142 | do not execute it; call disabled-command-function's value instead. */ |
| 143 | Lisp_Object Qdisabled, Qdisabled_command_function; | 143 | Lisp_Object Qdisabled, Qdisabled_command_function; |
| 144 | 144 | ||
| 145 | #define NUM_RECENT_KEYS (100) | 145 | #define NUM_RECENT_KEYS (300) |
| 146 | int recent_keys_index; /* Index for storing next element into recent_keys */ | 146 | int recent_keys_index; /* Index for storing next element into recent_keys */ |
| 147 | int total_keys; /* Total number of elements stored into recent_keys */ | 147 | int total_keys; /* Total number of elements stored into recent_keys */ |
| 148 | Lisp_Object recent_keys; /* A vector, holding the last 100 keystrokes */ | 148 | Lisp_Object recent_keys; /* Vector holds the last NUM_RECENT_KEYS keystrokes */ |
| 149 | 149 | ||
| 150 | /* Vector holding the key sequence that invoked the current command. | 150 | /* Vector holding the key sequence that invoked the current command. |
| 151 | It is reused for each command, and it may be longer than the current | 151 | It is reused for each command, and it may be longer than the current |
| @@ -10292,7 +10292,7 @@ if there is a doubt, the value is t. */) | |||
| 10292 | } | 10292 | } |
| 10293 | 10293 | ||
| 10294 | DEFUN ("recent-keys", Frecent_keys, Srecent_keys, 0, 0, 0, | 10294 | DEFUN ("recent-keys", Frecent_keys, Srecent_keys, 0, 0, 0, |
| 10295 | doc: /* Return vector of last 100 events, not counting those from keyboard macros. */) | 10295 | doc: /* Return vector of last 300 events, not counting those from keyboard macros. */) |
| 10296 | () | 10296 | () |
| 10297 | { | 10297 | { |
| 10298 | Lisp_Object *keys = XVECTOR (recent_keys)->contents; | 10298 | Lisp_Object *keys = XVECTOR (recent_keys)->contents; |