aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/server.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c40a759d351..0befa154ee1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-09-28 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * server.el (server-delete-client): Only delete the terminal if it
4 is non-nil.
5
12007-09-28 Michael Albinus <michael.albinus@gmx.de> 62007-09-28 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/tramp.el (with-file-property, with-connection-property): 8 * net/tramp.el (with-file-property, with-connection-property):
diff --git a/lisp/server.el b/lisp/server.el
index 04da434f737..b6061617f88 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -275,7 +275,8 @@ If NOFRAME is non-nil, let the frames live. (To be used from
275 275
276 ;; Delete the client's tty. 276 ;; Delete the client's tty.
277 (let ((terminal (process-get proc 'terminal))) 277 (let ((terminal (process-get proc 'terminal)))
278 (when (eq (terminal-live-p terminal) t) 278 ;; Only delete the terminal if it is non-nil.
279 (when (and terminal (eq (terminal-live-p terminal) t))
279 (delete-terminal terminal))) 280 (delete-terminal terminal)))
280 281
281 ;; Delete the client's process. 282 ;; Delete the client's process.