aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-02-14 23:28:23 +0000
committerKarl Heuer1994-02-14 23:28:23 +0000
commit4ffe73ce3c7d9bf34b51fb859812c00225de9ff1 (patch)
tree0f1065b220fb0b4630edf00300bb146c6781cca8 /src
parent326d7fc1f670cf98a08762fb52c1deca2038384c (diff)
downloademacs-4ffe73ce3c7d9bf34b51fb859812c00225de9ff1.tar.gz
emacs-4ffe73ce3c7d9bf34b51fb859812c00225de9ff1.zip
(Fx_close_current_connection): call check_x.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index e6b6c43a497..0c775d3994f 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3925,6 +3925,12 @@ DEFUN ("x-close-current-connection", Fx_close_current_connection,
3925 0, 0, 0, "Close the connection to the current X server.") 3925 0, 0, 0, "Close the connection to the current X server.")
3926 () 3926 ()
3927{ 3927{
3928 /* Note: If we're going to call check_x here, then the fatal error
3929 can't happen. For the moment, this check is just for safety,
3930 so a user won't try out the function and get a crash. If it's
3931 really intended only to be called when killing emacs, then there's
3932 no reason for it to have a lisp interface at all. */
3933 check_x();
3928#ifdef HAVE_X11 3934#ifdef HAVE_X11
3929 /* This is ONLY used when killing emacs; For switching displays 3935 /* This is ONLY used when killing emacs; For switching displays
3930 we'll have to take care of setting CloseDownMode elsewhere. */ 3936 we'll have to take care of setting CloseDownMode elsewhere. */