The function pane-close-display closes the X display connection on which pane is currently displayed. This destroys all the other panes on the same connection.
closedp is true if the connection was closed.
Note:
pane-close-display
works in the X11/Motif implementation only, and not on MS Windows.