diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2002-05-20 08:05:32 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2002-05-20 08:05:32 +0000 |
commit | 6a5161bbd18c66f625cbaf4e41b2f8466a7ddb52 (patch) | |
tree | a287bd9a3c912f953c29eb2dd04e19ad8974792a /src/emacs.c | |
parent | f6620ee2b00b7c6210517b8ddcb60a2f6e038c5b (diff) | |
download | emacs-6a5161bbd18c66f625cbaf4e41b2f8466a7ddb52.tar.gz emacs-6a5161bbd18c66f625cbaf4e41b2f8466a7ddb52.tar.bz2 emacs-6a5161bbd18c66f625cbaf4e41b2f8466a7ddb52.zip |
* emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING
instead of XSYMBOL and name field.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index e83e46af14b..4d4e57c522b 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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 */ |