(modify-frame-parameters (selected-frame)
(list (cons 'riece-window-configuration
(current-window-configuration))))
- (if entry
+ (if (cdr entry)
(set-window-configuration (cdr entry))
(delete-other-windows))
(message
riece-save-variables-are-dirty t)
(riece-command-configure-windows))
+(defun riece-command-toggle-others-buffer-mode ()
+ (interactive)
+ (setq riece-others-buffer-mode
+ (not riece-others-buffer-mode)
+ riece-save-variables-are-dirty t)
+ (riece-command-configure-windows))
+
(defun riece-command-toggle-user-list-buffer-mode ()
(interactive)
(setq riece-user-list-buffer-mode
(format "PART %s\r\n"
(riece-identity-prefix target))))))
-(defun riece-command-part (target)
+(defun riece-command-part (target &optional message)
(interactive
(progn
(riece-check-channel-commands-are-usable)