Commit d89b5760 authored by Kenichi Handa's avatar Kenichi Handa

(map_keymap): Set tail to Qnil before GCPRO it.

parent 5b2936ae
......@@ -699,6 +699,7 @@ map_keymap (map, fun, args, data, autoload)
struct gcpro gcpro1, gcpro2, gcpro3;
Lisp_Object tail;
tail = Qnil;
GCPRO3 (map, args, tail);
map = get_keymap (map, 1, autoload);
for (tail = (CONSP (map) && EQ (Qkeymap, XCAR (map))) ? XCDR (map) : map;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment