Mercurial > emacs
changeset 7807:cd93cee36101
(modify_event_symbol): Return nil if out of range.
Include systime.h after xterm.h.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 05 Jun 1994 18:28:57 +0000 |
parents | ef7a60d59543 |
children | 52e2eb6245d4 |
files | src/keyboard.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Sun Jun 05 18:17:53 1994 +0000 +++ b/src/keyboard.c Sun Jun 05 18:28:57 1994 +0000 @@ -51,13 +51,15 @@ #include "syssignal.h" #include "systty.h" -#include "systime.h" /* This is to get the definitions of the XK_ symbols. */ #ifdef HAVE_X_WINDOWS #include "xterm.h" #endif +/* Include systime.h after xterm.h to avoid double inclusion of time.h. */ +#include "systime.h" + extern int errno; /* Variables for blockinput.h: */ @@ -3247,7 +3249,7 @@ /* Is this a request for a valid symbol? */ if (symbol_num < 0 || symbol_num >= table_size) - abort (); + return Qnil; if (CONSP (*symbol_table)) value = Fcdr (assq_no_quit (symbol_int, *symbol_table));