summaryrefslogtreecommitdiff
path: root/src/mocklisp.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-08-19 06:38:40 +0000
committerJim Blandy <jimb@redhat.com>1992-08-19 06:38:40 +0000
commita796ac82a396d99bcb77f00736328a84dce83768 (patch)
tree36a07269eea1adee5377716a443f4e45a5a3b2a1 /src/mocklisp.c
parent345677047df477bf523ff915ff91249031c180d1 (diff)
downloademacs-a796ac82a396d99bcb77f00736328a84dce83768.tar.gz
emacs-a796ac82a396d99bcb77f00736328a84dce83768.tar.bz2
emacs-a796ac82a396d99bcb77f00736328a84dce83768.zip
* term.c (term_get_fkeys): Some systems define `static' to be the
empty string, which means that you can't have constant initialized arrays inside a function. So move the `keys' array outside of the function. * term.c (keys): Include definitions for "K2" (the center key on an IBM keypad), "F1" (F11), and "F2" (F12). Handle "k0" and "k;" specially; see the code for details. * term.c (clear_end_of_line): Remember that on some systems, "static" gets defined to be the null string, so we can't declare an array to be static and then initialize it. Since the array in question (buf) is only one element long, just make it a scalar rather than an array; it can then be initialized, even if it's not static.
Diffstat (limited to 'src/mocklisp.c')
0 files changed, 0 insertions, 0 deletions