* wl-folder.el (wl-folder-set-current-entity-id): Change condition to set
last visited folder.
* wl-folder.el (wl-folder-jump-to-current-entity): Cosmetic fix.
(wl-folder-buffer-last-visited-entity-id): New buffer local
variable.
- (wl-folder-set-current-entity-id): Set last visited folder.
(wl-folder-revisit-last-visited-folder): New function.
(wl-folder-mode-map): Bind it to "C-i".
+ (wl-folder-set-current-entity-id): Set last visited folder.
+ * wl-summary.el (wl-summary-exit): Ditto.
2004-01-15 Katsumi Yamaoka <yamaoka@jpl.org>
(if buf-win
(select-window buf-win)
(set-buffer buf))
- (when wl-folder-buffer-cur-entity-id
+ (when (and wl-folder-buffer-cur-entity-id
+ (not (eq wl-folder-buffer-cur-entity-id entity-id)))
(setq wl-folder-buffer-last-visited-entity-id wl-folder-buffer-cur-entity-id))
(setq wl-folder-buffer-cur-entity-id entity-id)
(setq wl-folder-buffer-cur-path
wl-folder-buffer-cur-point
(goto-char wl-folder-buffer-cur-point))
(setq wl-folder-buffer-cur-path nil)
+ (setq wl-folder-buffer-last-visited-entity-id wl-folder-buffer-cur-entity-id)
(setq wl-folder-buffer-cur-entity-id nil)
(wl-delete-all-overlays)
(if wl-summary-exit-next-move