From b1434dd1cbbf923385e4eef6ed288225e5280037 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 22 Sep 2025 13:14:06 +0100 Subject: jao-doc-session: easier spec of saved docs --- lib/eos/jao-afio.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lib/eos/jao-afio.el') diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index 4506bd8..0a6d8e6 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -71,12 +71,11 @@ ;;;###autoload (defun jao-afio-open-pdf-session (&optional docs) (interactive) - (let ((jao-doc-session-inhibit-save t)) - (dolist (doc (or docs (jao-doc-session))) - (when (and doc (file-exists-p doc)) - (if (jao-pdf-is-pdf-file doc) (jao-open-doc doc) (find-file doc)) - (other-window 1))) - (other-window 1))) + (dolist (doc (or docs (jao-doc-session))) + (when (and doc (file-exists-p doc)) + (if (jao-pdf-is-pdf-file doc) (jao-open-doc doc) (find-file doc)) + (other-window 1))) + (other-window 1)) (defun jao-afio-open-doc () (interactive) -- cgit v1.2.3