From a35bdffa1707b31e65f5e0f4bd085260efe22c51 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 6 Mar 2002 15:54:43 +0000 Subject: [PATCH] (ECHOBUFSIZE): Removed. (struct kboard): Member echoptr removed, member echobuf renamed to echo_string. --- src/keyboard.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/keyboard.h b/src/keyboard.h index a6fe2602b00..87af2e84692 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -20,8 +20,6 @@ Boston, MA 02111-1307, USA. */ /* Length of echobuf field in each KBOARD. */ -#define ECHOBUFSIZE 300 - /* Each KBOARD represents one logical input stream from which Emacs gets input. If we are using an ordinary terminal, it has one KBOARD object. Usually each X display screen has its own KBOARD, @@ -129,12 +127,9 @@ struct kboard larger when you have multiple screens on a single X display. */ int reference_count; - /* Where to append more text to echobuf if we want to. */ - char *echoptr; - /* The text we're echoing in the modeline - partial key sequences, - usually. '\0'-terminated. This really shouldn't have a fixed size. */ - char echobuf[ECHOBUFSIZE]; + usually. This is nil when not echoing. */ + Lisp_Object echo_string; /* This flag indicates that events were put into kbd_queue while Emacs was running for some other KBOARD. @@ -152,7 +147,7 @@ struct kboard char immediate_echo; /* If we have echoed a prompt string specified by the user, - this is its length. Otherwise this is -1. */ + this is its length in characters. Otherwise this is -1. */ char echo_after_prompt; }; -- 2.39.2