summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org6
1 files changed, 2 insertions, 4 deletions
diff --git a/init.org b/init.org
index 4852296..09d07af 100644
--- a/init.org
+++ b/init.org
@@ -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)