diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2212,15 +2212,13 @@ (jao-afio--goto-docs) (if b (pop-to-buffer b) (find-file file)))) - (defun jao-open-doc (file) - (message "Opening %s" file) - (funcall jao-open-doc-fun file)) + (defun jao-open-doc (file) (funcall jao-open-doc-fun file)) (defun jao-open-pdf-session () (interactive) (dolist (doc (jao-doc-view-session)) (when (and (file-exists-p doc) (y-or-n-p (format "Open %s? " doc))) - (jao-find-or-open doc)))) + (jao-open-doc doc)))) (defun jao-afio-open-pdf (file page &optional height) (jao-open-doc file) |