2005-02-05 Daiki Ueno <ueno@unixuser.org>
+ * riece.el (riece-exit): Clear riece-window-configuration frame
+ parameter.
+ * riece-commands.el (riece-command-suspend-resume): Don't attempt
+ to restore window-configuration if the cdr of
+ riece-window-configuration frame parameter is nil.
+
* riece-filter.el (riece-chomp-string): New function.
(riece-filter): Use it.
(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-operator-indicator "-"
riece-channel-status-indicator "-"
riece-freeze-indicator "-")
- (let ((window-configuration
- (cdr (assq 'riece-window-configuration (frame-parameters)))))
- (if window-configuration
- (set-window-configuration window-configuration)
- (delete-other-windows)))
+ (modify-frame-parameters (selected-frame)
+ (list (list 'riece-window-configuration)))
+ (delete-other-windows)
(run-hooks 'riece-exit-hook))
(defun riece-command-mode ()