summaryrefslogtreecommitdiffhomepage
path: root/lib/doc
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-25 01:34:25 +0100
committerjao <jao@gnu.org>2022-09-25 01:34:25 +0100
commitd8fe62a92149fe6348fa8fae8a9066475b5292e6 (patch)
tree146bee54ec52ebfad2642c0838db474e5d195162 /lib/doc
parent5d84b3cffdb611ddf63cbb44f8cc080ce039da53 (diff)
downloadelibs-d8fe62a92149fe6348fa8fae8a9066475b5292e6.tar.gz
elibs-d8fe62a92149fe6348fa8fae8a9066475b5292e6.tar.bz2
jao-org-links: fix
Diffstat (limited to 'lib/doc')
-rw-r--r--lib/doc/jao-org-links.el4
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))