Mercurial > emacs
comparison src/xterm.c @ 13727:9eb09adbcb38
(x_connection_closed): Don't delete dpyinfo if it's null.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 13 Dec 1995 20:08:11 +0000 |
parents | 3fa66bb82d59 |
children | 52f469edf216 |
comparison
equal
deleted
inserted
replaced
13726:0611604f3cd3 | 13727:9eb09adbcb38 |
---|---|
4561 trying to find a replacement. */ | 4561 trying to find a replacement. */ |
4562 FRAME_KBOARD (XFRAME (frame))->Vdefault_minibuffer_frame = Qt; | 4562 FRAME_KBOARD (XFRAME (frame))->Vdefault_minibuffer_frame = Qt; |
4563 Fdelete_frame (frame, Qt); | 4563 Fdelete_frame (frame, Qt); |
4564 } | 4564 } |
4565 | 4565 |
4566 x_delete_display (dpyinfo); | 4566 if (dpyinfo) |
4567 x_delete_display (dpyinfo); | |
4567 | 4568 |
4568 if (x_display_list == 0) | 4569 if (x_display_list == 0) |
4569 { | 4570 { |
4570 fprintf (stderr, "%s", error_message); | 4571 fprintf (stderr, "%s", error_message); |
4571 shut_down_emacs (0, 0, Qnil); | 4572 shut_down_emacs (0, 0, Qnil); |