From 5e7f8733e512775b588edf58b4da8501f076c4ae Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 17 Sep 1994 00:14:40 +0000 Subject: [PATCH] (shut_down_emacs): Don't call Fx_close_current_connection. --- src/emacs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 1bfcac5c946..91dec351a88 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -858,6 +858,7 @@ shut_down_emacs (sig, no_x, stuff) kill_vms_processes (); #endif +#if 0 /* This triggers a bug in XCloseDisplay and is not needed. */ #ifdef HAVE_X_WINDOWS /* It's not safe to call intern here. Maybe we are crashing. */ if (!noninteractive && SYMBOLP (Vwindow_system) @@ -866,6 +867,7 @@ shut_down_emacs (sig, no_x, stuff) && ! no_x) Fx_close_current_connection (); #endif /* HAVE_X_WINDOWS */ +#endif #ifdef SIGIO /* There is a tendency for a SIGIO signal to arrive within exit, -- 2.39.5