Commit 3e65092f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(term_get_fkeys): If not initialized, init Vfunction_key_map.

parent c4a2dc64
......@@ -1240,6 +1240,10 @@ term_get_fkeys (address)
extern char *tgetstr ();
int i;
/* This can happen if CANNOT_DUMP or with strange options. */
if (!initialized)
Vfunction_key_map = Fmake_sparse_keymap (Qnil);
for (i = 0; i < (sizeof (keys)/sizeof (keys[0])); i++)
{
char *sequence = tgetstr (keys[i].cap, address);
......
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