(term_get_fkeys): If not initialized, init Vfunction_key_map.

This commit is contained in:
Richard M. Stallman 1993-05-31 20:18:35 +00:00
parent c4a2dc647a
commit 3e65092fb0

View file

@ -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);