From d8fe62a92149fe6348fa8fae8a9066475b5292e6 Mon Sep 17 00:00:00 2001
From: jao <jao@gnu.org>
Date: Sun, 25 Sep 2022 01:34:25 +0100
Subject: jao-org-links: fix

---
 lib/doc/jao-org-links.el | 4 ++--
 1 file 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))
-- 
cgit v1.2.3