Mercurial > emacs
comparison src/emacs.c @ 45399:32cb1788d9cd
* emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING
instead of XSYMBOL and name field.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 20 May 2002 08:05:32 +0000 |
parents | 4209fda9d03f |
children | 7ed1d3a98c77 |
comparison
equal
deleted
inserted
replaced
45398:1a623890a487 | 45399:32cb1788d9cd |
---|---|
1973 | 1973 |
1974 #if 0 /* This triggers a bug in XCloseDisplay and is not needed. */ | 1974 #if 0 /* This triggers a bug in XCloseDisplay and is not needed. */ |
1975 #ifdef HAVE_X_WINDOWS | 1975 #ifdef HAVE_X_WINDOWS |
1976 /* It's not safe to call intern here. Maybe we are crashing. */ | 1976 /* It's not safe to call intern here. Maybe we are crashing. */ |
1977 if (!noninteractive && SYMBOLP (Vwindow_system) | 1977 if (!noninteractive && SYMBOLP (Vwindow_system) |
1978 && XSYMBOL (Vwindow_system)->name->size == 1 | 1978 && XSTRING (SYMBOL_NAME (Vwindow_system))->size == 1 |
1979 && XSYMBOL (Vwindow_system)->name->data[0] == 'x' | 1979 && XSTRING (SYMBOL_NAME (Vwindow_system))->data[0] == 'x' |
1980 && ! no_x) | 1980 && ! no_x) |
1981 Fx_close_current_connection (); | 1981 Fx_close_current_connection (); |
1982 #endif /* HAVE_X_WINDOWS */ | 1982 #endif /* HAVE_X_WINDOWS */ |
1983 #endif | 1983 #endif |
1984 | 1984 |