+2007-09-28 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * server.el (server-delete-client): Only delete the terminal if it
+ is non-nil.
+
2007-09-28 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (with-file-property, with-connection-property):
;; Delete the client's tty.
(let ((terminal (process-get proc 'terminal)))
- (when (eq (terminal-live-p terminal) t)
+ ;; Only delete the terminal if it is non-nil.
+ (when (and terminal (eq (terminal-live-p terminal) t))
(delete-terminal terminal)))
;; Delete the client's process.