> (1) M-x find-file RET usr/include RET
> (2) M-x find-file RET ~/study/literature.org RET
>> If you want a history of accessed folders, why not put that in a
> Good idea. After (1) and (2), the separate buffer would read:
Emacs already tracks this information, no need to add hooks.
(defun get-session-dirs ()
"return list of directories visited in session"
(mapcar (lambda (f)
List of directory returned is in reverse chronological order.