buffer in riece-buffer-list.
* riece.el (riece): Ditto.
2004-11-20 Daiki Ueno <ueno@unixuser.org>
+ * riece-display.el (riece-update-buffers): Check existence each
+ buffer in riece-buffer-list.
+ * riece.el (riece): Ditto.
+
+2004-11-20 Daiki Ueno <ueno@unixuser.org>
+
* riece.el: Bind reporter-prompt-for-summary-p.
2004-11-19 Daiki Ueno <ueno@unixuser.org>
(unless buffers
(setq buffers riece-buffer-list))
(while buffers
- (save-excursion
- (set-buffer (car buffers))
- (run-hooks 'riece-update-buffer-functions))
+ (if (buffer-live-p (car buffers))
+ (save-excursion
+ (set-buffer (car buffers))
+ (run-hooks 'riece-update-buffer-functions)))
(setq buffers (cdr buffers)))
(run-hooks 'riece-update-indicator-functions)
(force-mode-line-update t)
(lambda ()
(let ((buffers riece-buffer-list))
(while buffers
- (if (eq (derived-mode-class
- (with-current-buffer (car buffers)
- major-mode))
- 'riece-dialogue-mode)
+ (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)))
(setq buffers (cdr buffers))))))))
(switch-to-buffer riece-command-buffer)