# HG changeset patch # User Richard M. Stallman # Date 1174282174 0 # Node ID f7afa74d0783d45f0d01855cf038c525a69b0bf4 # Parent b99f6ff8775b6be4afd693d9321eea0f5f993794 (NUM_RECENT_KEYS): Bump up to 300. diff -r b99f6ff8775b -r f7afa74d0783 src/keyboard.c --- a/src/keyboard.c Mon Mar 19 05:27:45 2007 +0000 +++ b/src/keyboard.c Mon Mar 19 05:29:34 2007 +0000 @@ -142,10 +142,10 @@ 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 @@ } 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;