summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org8
1 files changed, 1 insertions, 7 deletions
diff --git a/init.org b/init.org
index 4e5d8c2..8feef8b 100644
--- a/init.org
+++ b/init.org
@@ -2196,7 +2196,7 @@
#+end_src
*** open pdfs
#+begin_src emacs-lisp
- (defvar jao-open-doc-fun 'jao-find-or-open)
+ (setq jao-open-doc-fun 'jao-find-or-open)
(defun jao-find-or-open (file)
(let* ((buffs (buffer-list))
@@ -2215,12 +2215,6 @@
(concat jao-org-dir "/doc/"))))
(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-open-doc doc))))
-
(defun jao-afio-open-pdf (file page &optional height)
(jao-open-doc file)
(when page (jao-doc-view-goto-page page height)))