summaryrefslogtreecommitdiffhomepage
path: root/lib/doc/jao-pdf.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/doc/jao-pdf.el')
-rw-r--r--lib/doc/jao-pdf.el16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/doc/jao-pdf.el b/lib/doc/jao-pdf.el
index ad34b48..213d806 100644
--- a/lib/doc/jao-pdf.el
+++ b/lib/doc/jao-pdf.el
@@ -112,21 +112,5 @@ The result is cached as a local buffer variable."
(defun jao-pdf-zathura-org-link (title)
(jao-pdf--zathura-link (jao-pdf-zathura-file-info title)))
-(defun jao-pdf-goto-zathura-org (title &optional no-ask)
- (when-let* ((info (jao-pdf-zathura-file-info title))
- (pdf-file (car info))
- (page (cadr info))
- (file (jao-org-pdf-to-org-file pdf-file)))
- (ignore-errors (jao-afio-goto-docs))
- (let ((exists (file-exists-p file)))
- (find-file file)
- (unless exists (jao-org-insert-doc-skeleton))
- (let ((lnk (jao-pdf--zathura-link info)))
- (jao-doc-session-mark)
- (if (or (not exists) (and (not no-ask) (y-or-n-p "Insert link?")))
- (insert lnk "\n")
- (kill-new lnk)
- (message "Link to %s (%s) killed" file page))))))
-
(provide 'jao-pdf)
;;; jao-pdf.el ends here