Commit 0721f230 authored by Richard M. Stallman's avatar Richard M. Stallman

(NUM_RECENT_KEYS): Bump up to 300.

parent 5fd11dc8
......@@ -142,10 +142,10 @@ KBOARD the_only_kboard;
do not execute it; call disabled-command-function's value instead. */
Lisp_Object Qdisabled, Qdisabled_command_function;
#define NUM_RECENT_KEYS (100)
#define NUM_RECENT_KEYS (300)
int recent_keys_index; /* Index for storing next element into recent_keys */
int total_keys; /* Total number of elements stored into recent_keys */
Lisp_Object recent_keys; /* A vector, holding the last 100 keystrokes */
Lisp_Object recent_keys; /* Vector holds the last NUM_RECENT_KEYS keystrokes */
/* Vector holding the key sequence that invoked the current command.
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. */)
}
DEFUN ("recent-keys", Frecent_keys, Srecent_keys, 0, 0, 0,
doc: /* Return vector of last 100 events, not counting those from keyboard macros. */)
doc: /* Return vector of last 300 events, not counting those from keyboard macros. */)
()
{
Lisp_Object *keys = XVECTOR (recent_keys)->contents;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment