diff options
| author | Richard M. Stallman | 2007-03-19 05:29:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-03-19 05:29:34 +0000 |
| commit | 0721f23048cc4652145d10fdcaf49e2e54c4f5f9 (patch) | |
| tree | c75a4f2ab78dbd882c550d7841c6e37280d6ce08 | |
| parent | 5fd11dc8c6483729d1cdea58400b56c4a681a767 (diff) | |
| download | emacs-0721f23048cc4652145d10fdcaf49e2e54c4f5f9.tar.gz emacs-0721f23048cc4652145d10fdcaf49e2e54c4f5f9.zip | |
(NUM_RECENT_KEYS): Bump up to 300.
| -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; |