Mercurial > emacs
changeset 3359:ef29e2a4fc46
(term_get_fkeys): If not initialized, init Vfunction_key_map.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 31 May 1993 20:18:35 +0000 |
parents | b1b079944842 |
children | 1a1a1822affa |
files | src/term.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Mon May 31 19:15:51 1993 +0000 +++ b/src/term.c Mon May 31 20:18:35 1993 +0000 @@ -1240,6 +1240,10 @@ 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);