]> git.eshelyaron.com Git - emacs.git/commit
Simplify read_key_sequence
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 10 Jun 2018 01:59:25 +0000 (18:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 10 Jun 2018 02:02:09 +0000 (19:02 -0700)
commitefa750e68466fb1bab03028701350a745e0504b6
tree6e179e82b4033c0aa43882ce31973032f22706b3
parentcace203da108da4d281a99953a6fc71a18cde029
Simplify read_key_sequence

* src/keyboard.c (READ_KEY_ELTS): New constant.
(keyremap_step, read_key_sequence): Omit BUFSIZE arg, since it's
always READ_KEY_ELTS.  All callers changed.
(grow_bool_vector): Remove; no longer needed.
(read_key_sequence): Use a bool array instead of a Lisp bool
vector, since it's small and this puts less pressure on the GC.
src/keyboard.c