# HG changeset patch # User Richard M. Stallman # Date 1005104105 0 # Node ID 97673fa0eaa74a102771c031f84a256ea2a6d4ee # Parent 3b3c00fa282ad7925fdce832c54327f69f880012 (access_keymap): Don't use initializers on Lisp_Object. diff -r 3b3c00fa282a -r 97673fa0eaa7 src/keymap.c --- a/src/keymap.c Wed Nov 07 01:15:30 2001 +0000 +++ b/src/keymap.c Wed Nov 07 03:35:05 2001 +0000 @@ -476,7 +476,10 @@ int noinherit; int autoload; { - Lisp_Object val = Qunbound; + Lisp_Object val; + + /* Qunbound in VAL means we have found no binding yet. */ + val = Qunbound; /* If idx is a list (some sort of mouse click, perhaps?), the index we want to use is the car of the list, which @@ -516,7 +519,13 @@ { Lisp_Object tail; - Lisp_Object t_binding = Qnil; + + /* t_binding is where we put a default binding that applies, + to use in case we do not find a binding specifically + for this key sequence. + + Lisp_Object t_binding; + t_binding = Qnil; /* If `t_ok' is 2, both `t' and generic-char bindings are accepted. If it is 1, only generic-char bindings are accepted.