diff options
| author | Gerd Moellmann | 2002-03-06 15:54:43 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2002-03-06 15:54:43 +0000 |
| commit | a35bdffa1707b31e65f5e0f4bd085260efe22c51 (patch) | |
| tree | a51d42ca07731f4edb196027a9a4e7a9c9ea9e07 | |
| parent | 2dc2ec3d4976d285fbc76b942dfa14182643f1b5 (diff) | |
| download | emacs-a35bdffa1707b31e65f5e0f4bd085260efe22c51.tar.gz emacs-a35bdffa1707b31e65f5e0f4bd085260efe22c51.zip | |
(ECHOBUFSIZE): Removed.
(struct kboard): Member echoptr removed, member echobuf renamed
to echo_string.
| -rw-r--r-- | src/keyboard.h | 11 |
1 files 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. */ | |||
| 20 | 20 | ||
| 21 | /* Length of echobuf field in each KBOARD. */ | 21 | /* Length of echobuf field in each KBOARD. */ |
| 22 | 22 | ||
| 23 | #define ECHOBUFSIZE 300 | ||
| 24 | |||
| 25 | /* Each KBOARD represents one logical input stream from which Emacs gets input. | 23 | /* Each KBOARD represents one logical input stream from which Emacs gets input. |
| 26 | If we are using an ordinary terminal, it has one KBOARD object. | 24 | If we are using an ordinary terminal, it has one KBOARD object. |
| 27 | Usually each X display screen has its own KBOARD, | 25 | Usually each X display screen has its own KBOARD, |
| @@ -129,12 +127,9 @@ struct kboard | |||
| 129 | larger when you have multiple screens on a single X display. */ | 127 | larger when you have multiple screens on a single X display. */ |
| 130 | int reference_count; | 128 | int reference_count; |
| 131 | 129 | ||
| 132 | /* Where to append more text to echobuf if we want to. */ | ||
| 133 | char *echoptr; | ||
| 134 | |||
| 135 | /* The text we're echoing in the modeline - partial key sequences, | 130 | /* The text we're echoing in the modeline - partial key sequences, |
| 136 | usually. '\0'-terminated. This really shouldn't have a fixed size. */ | 131 | usually. This is nil when not echoing. */ |
| 137 | char echobuf[ECHOBUFSIZE]; | 132 | Lisp_Object echo_string; |
| 138 | 133 | ||
| 139 | /* This flag indicates that events were put into kbd_queue | 134 | /* This flag indicates that events were put into kbd_queue |
| 140 | while Emacs was running for some other KBOARD. | 135 | while Emacs was running for some other KBOARD. |
| @@ -152,7 +147,7 @@ struct kboard | |||
| 152 | char immediate_echo; | 147 | char immediate_echo; |
| 153 | 148 | ||
| 154 | /* If we have echoed a prompt string specified by the user, | 149 | /* If we have echoed a prompt string specified by the user, |
| 155 | this is its length. Otherwise this is -1. */ | 150 | this is its length in characters. Otherwise this is -1. */ |
| 156 | char echo_after_prompt; | 151 | char echo_after_prompt; |
| 157 | }; | 152 | }; |
| 158 | 153 | ||