+2004-11-21 Daiki Ueno <ueno@unixuser.org>
+
+ * riece.el (riece): Remove nonexistent buffer from
+ riece-buffer-list when running riece-shrink-buffer.
+
2004-11-20 Daiki Ueno <ueno@unixuser.org>
* riece-display.el (riece-update-buffers): Check existence of each
(lambda ()
(let ((buffers riece-buffer-list))
(while buffers
- (if (and (buffer-live-p (car buffers))
- (eq (derived-mode-class
- (with-current-buffer (car buffers)
- major-mode))
- 'riece-dialogue-mode))
- (riece-shrink-buffer (car buffers)))
+ (if (buffer-live-p (car buffers))
+ (if (eq (derived-mode-class
+ (with-current-buffer (car buffers)
+ major-mode))
+ 'riece-dialogue-mode)
+ (riece-shrink-buffer (car buffers)))
+ (deql (car buffers) riece-buffer-list))
(setq buffers (cdr buffers))))))))
(switch-to-buffer riece-command-buffer)
(riece-display-connect-signals)