diff options
author | Kim F. Storm <storm@cua.dk> | 2004-02-16 23:13:13 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2004-02-16 23:13:13 +0000 |
commit | 9940231136a3a88bce8439d20e19928dbbc2edd1 (patch) | |
tree | 5ca94ec2b71c01e17716c3e347f092c4ce7c9018 /lisp/emacs-lisp/lisp.el | |
parent | ab90a54d2f8d29c5c441bf11564c81e4c2c9d5e5 (diff) | |
download | emacs-9940231136a3a88bce8439d20e19928dbbc2edd1.tar.gz emacs-9940231136a3a88bce8439d20e19928dbbc2edd1.tar.bz2 emacs-9940231136a3a88bce8439d20e19928dbbc2edd1.zip |
Rework previous change; it didn't consider that the
buf array was allocated on the stack.
(prev_read): Remove variable.
(read_avail_input_buf): New static event buffer array.
(in_read_avail_input): New static variable to avoid re-entrancy.
(read_avail_input): Change buf to pinter to read_avail_input_buf.
Use in_read_avail_input to guard against re-entry.
Do not initialize read_avail_input_buf here; instead assume it
is always cleared on entry. To ensure that, we clear (just) the
entries that were used before we return.
(init_keyboard): Initialize read_avail_input_buf here.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions