2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl-summary.el (wl-summary-default-get-next-msg): Fix.
+
* Version number is increased to 2.5.8.
* wl-thread.el (toplevel): require 'cl.
(message "Dropping...done"))))
(defun wl-summary-default-get-next-msg (msg)
- (wl-summary-next-message msg
- (if wl-summary-move-direction-downward 'down
- 'up)
- nil))
+ (or (wl-summary-next-message msg
+ (if wl-summary-move-direction-downward 'down
+ 'up)
+ nil)
+ (cadr (memq num (if wl-summary-move-direction-downward
+ wl-summary-buffer-number-list
+ (reverse wl-summary-buffer-number-list))))))
(defsubst wl-cache-prefetch-p (fld &optional num)
(cond ((and num wl-cache-prefetch-folder-type-list)