on non-existent server process.
+2006-05-06 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * riece-commands.el (riece-command-close-server): Cause error
+ on non-existent server process.
+
2006-04-26 Daiki Ueno <ueno@unixuser.org>
* riece-skk-kakutei.el: Declare some variables and autoload
(if current-prefix-arg
(read-string "Message: ")
riece-quit-message)))
- (riece-quit-server-process (riece-server-process server-name) message))
+ (let ((process (riece-server-process server-name)))
+ (unless process
+ (error "%s is not opened" server-name))
+ (riece-quit-server-process process message)))
(defun riece-command-universal-server-name-argument ()
(interactive)