mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 23:31:55 -08:00
* emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING
instead of XSYMBOL and name field.
This commit is contained in:
parent
f6620ee2b0
commit
6a5161bbd1
1 changed files with 2 additions and 2 deletions
|
|
@ -1975,8 +1975,8 @@ shut_down_emacs (sig, no_x, stuff)
|
|||
#ifdef HAVE_X_WINDOWS
|
||||
/* It's not safe to call intern here. Maybe we are crashing. */
|
||||
if (!noninteractive && SYMBOLP (Vwindow_system)
|
||||
&& XSYMBOL (Vwindow_system)->name->size == 1
|
||||
&& XSYMBOL (Vwindow_system)->name->data[0] == 'x'
|
||||
&& XSTRING (SYMBOL_NAME (Vwindow_system))->size == 1
|
||||
&& XSTRING (SYMBOL_NAME (Vwindow_system))->data[0] == 'x'
|
||||
&& ! no_x)
|
||||
Fx_close_current_connection ();
|
||||
#endif /* HAVE_X_WINDOWS */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue