From 50654db0356fe51c0436c35ac1a6e34834f08fad Mon Sep 17 00:00:00 2001 From: bg66 Date: Wed, 22 Oct 2003 13:49:42 +0000 Subject: [PATCH] * riece.el (riece): When riece server was opened, Do `riece-command-configure-windows' instead of signaling. --- lisp/ChangeLog | 5 +++++ lisp/riece.el | 23 ++++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eeebf5e..8250aea 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-10-22 OHASHI Akira + + * riece.el (riece): When riece server was opened, Do + `riece-command-configure-windows' instead of signaling. + 2003-10-22 Daiki Ueno * riece-rdcc.el (riece-rdcc-send-program): Flush $stdout before diff --git a/lisp/riece.el b/lisp/riece.el index 301510c..72e53cb 100644 --- a/lisp/riece.el +++ b/lisp/riece.el @@ -259,17 +259,18 @@ If optional argument CONFIRM is non-nil, ask which IRC server to connect." (riece-insinuate-addons riece-addons) (run-hooks 'riece-after-load-startup-hook) (if (riece-server-opened) - (error "Already running")) - (if (or confirm (null riece-server)) - (setq riece-server (completing-read "Server: " riece-server-alist))) - (if (stringp riece-server) - (setq riece-server (riece-server-name-to-server riece-server))) - (riece-create-buffers) - (switch-to-buffer riece-command-buffer) - (riece-redisplay-buffers) - (riece-open-server riece-server "") - (run-hooks 'riece-startup-hook) - (message "%s" (substitute-command-keys "Type \\[describe-mode] for help"))) + (riece-command-configure-windows) + (if (or confirm (null riece-server)) + (setq riece-server (completing-read "Server: " riece-server-alist))) + (if (stringp riece-server) + (setq riece-server (riece-server-name-to-server riece-server))) + (riece-create-buffers) + (switch-to-buffer riece-command-buffer) + (riece-redisplay-buffers) + (riece-open-server riece-server "") + (run-hooks 'riece-startup-hook) + (message "%s" (substitute-command-keys + "Type \\[describe-mode] for help")))) (defun riece-exit () (if riece-save-variables-are-dirty -- 1.7.10.4