Fix error on deleting an emacsclient terminal (Dan Nicolaescu).
authorKaroly Lorentey <lorentey@elte.hu>
Mon, 19 Apr 2004 14:16:10 +0000 (14:16 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Mon, 19 Apr 2004 14:16:10 +0000 (14:16 +0000)
commit6ed9e43af1ab2e8929bbdf30b31af0c6e774b619
treea425288cdc653063da4f1422c1826211db66f570
parent6087973173dba8d068ba4e97e8b290d2ddbf0da8
Fix error on deleting an emacsclient terminal (Dan Nicolaescu).

lisp/server.el (server-delete-client): Check that the buffer is live
before switching to it.  Also, check that the tty display still has
live buffers before deleting it.
(server-handle-delete-frame): Don't do anything if the frame was on a
tty device (reported by Dan Nicolaescu).

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-148
lisp/server.el