diff options
-rw-r--r-- | lib/doc/jao-org-links.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/doc/jao-org-links.el b/lib/doc/jao-org-links.el index 8b5c42e..88c0561 100644 --- a/lib/doc/jao-org-links.el +++ b/lib/doc/jao-org-links.el @@ -82,7 +82,7 @@ (pdf-file (car info)) (page (cadr info)) (file (jao-org-notes-find-for-pdf pdf-file))) - (ignore-errors (jao-afio-goto-docs)) + (jao-afio-goto-docs) (let ((exists (file-exists-p file))) (find-file file) (unless exists (jao-org-insert-doc-skeleton)) @@ -104,7 +104,7 @@ (defun jao-org-pdf-goto-org (arg) (interactive "P") (when (jao-pdf-is-pdf-file buffer-file-name) - (let* ((file (jao-org-pdf-to-org-file)) + (let* ((file (jao-org-notes-find-for-pdf)) (new (not (file-exists-p file))) (title (jao-pdf-title))) (when (or arg new) (org-store-link nil t)) |