From 0721f23048cc4652145d10fdcaf49e2e54c4f5f9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 19 Mar 2007 05:29:34 +0000 Subject: [PATCH] (NUM_RECENT_KEYS): Bump up to 300. --- src/keyboard.c | 6 +++--- 1 file 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; 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; -- 2.39.5