aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c2
1 files changed, 2 insertions, 0 deletions
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)
858 kill_vms_processes (); 858 kill_vms_processes ();
859#endif 859#endif
860 860
861#if 0 /* This triggers a bug in XCloseDisplay and is not needed. */
861#ifdef HAVE_X_WINDOWS 862#ifdef HAVE_X_WINDOWS
862 /* It's not safe to call intern here. Maybe we are crashing. */ 863 /* It's not safe to call intern here. Maybe we are crashing. */
863 if (!noninteractive && SYMBOLP (Vwindow_system) 864 if (!noninteractive && SYMBOLP (Vwindow_system)
@@ -866,6 +867,7 @@ shut_down_emacs (sig, no_x, stuff)
866 && ! no_x) 867 && ! no_x)
867 Fx_close_current_connection (); 868 Fx_close_current_connection ();
868#endif /* HAVE_X_WINDOWS */ 869#endif /* HAVE_X_WINDOWS */
870#endif
869 871
870#ifdef SIGIO 872#ifdef SIGIO
871 /* There is a tendency for a SIGIO signal to arrive within exit, 873 /* There is a tendency for a SIGIO signal to arrive within exit,