diff options
| author | Ken Raeburn | 2002-05-20 08:05:32 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-05-20 08:05:32 +0000 |
| commit | 6a5161bbd18c66f625cbaf4e41b2f8466a7ddb52 (patch) | |
| tree | a287bd9a3c912f953c29eb2dd04e19ad8974792a /src | |
| parent | f6620ee2b00b7c6210517b8ddcb60a2f6e038c5b (diff) | |
| download | emacs-6a5161bbd18c66f625cbaf4e41b2f8466a7ddb52.tar.gz 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')
| -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) | |||
| 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 */ |