non-nil, use it; Don't fetch message if there's no message in the
current cursor position.
+2003-11-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-util.el (wl-current-message-buffer): If wl-message-buffer is
+ non-nil, use it; Don't fetch message if there's no message in the
+ current cursor position.
+
2003-11-29 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-util.el (wl-region-exists-p): Use region-active-p.
(defun wl-current-message-buffer ()
(when (buffer-live-p wl-current-summary-buffer)
(with-current-buffer wl-current-summary-buffer
- (car (wl-message-buffer-display wl-summary-buffer-elmo-folder
- (wl-summary-message-number)
- 'mime)))))
+ (or wl-message-buffer
+ (and (wl-summary-message-number)
+ (car (wl-message-buffer-display wl-summary-buffer-elmo-folder
+ (wl-summary-message-number)
+ 'mime)))))))
(defmacro wl-kill-buffers (regexp)
(` (mapcar (function