Replace org-pdfview with org-pdftools
The latter is a continuation fork. The former is no longer maintained.
This commit is contained in:
parent
8f3045b147
commit
9abc10c78f
2 changed files with 9 additions and 8 deletions
|
@ -782,16 +782,17 @@ compelling reason, so..."
|
||||||
(add-hook 'kill-emacs-hook #'org-clock-save))
|
(add-hook 'kill-emacs-hook #'org-clock-save))
|
||||||
|
|
||||||
|
|
||||||
(use-package! org-pdfview
|
(use-package! org-pdftools
|
||||||
:when (featurep! :tools pdf)
|
:when (featurep! :tools pdf)
|
||||||
:commands org-pdfview-open
|
:commands org-pdftools-export
|
||||||
:init
|
:init
|
||||||
(after! org
|
(after! org
|
||||||
(delete '("\\.pdf\\'" . default) org-file-apps)
|
(org-link-set-parameters "pdftools"
|
||||||
;; org links to pdf files are opened in pdf-view-mode
|
:follow #'org-pdftools-open
|
||||||
(add-to-list 'org-file-apps '("\\.pdf\\'" . (lambda (_file link) (org-pdfview-open link))))
|
:complete #'org-pdftools-complete-link
|
||||||
;; support for links to specific pages
|
:store #'org-pdftools-store-link
|
||||||
(add-to-list 'org-file-apps '("\\.pdf::\\([[:digit:]]+\\)\\'" . (lambda (_file link) (org-pdfview-open link))))))
|
:export #'org-pdftools-export)
|
||||||
|
(add-hook 'org-store-link-functions #'org-pdftools-store-link)))
|
||||||
|
|
||||||
|
|
||||||
(use-package! evil-org
|
(use-package! evil-org
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
:recipe (:host github :repo "hlissner/evil-org-mode")
|
:recipe (:host github :repo "hlissner/evil-org-mode")
|
||||||
:pin "4d44e9bbdc"))
|
:pin "4d44e9bbdc"))
|
||||||
(when (featurep! :tools pdf)
|
(when (featurep! :tools pdf)
|
||||||
(package! org-pdfview :pin "8b71f31363"))
|
(package! org-pdftools :pin "4f22e13e06"))
|
||||||
(when (featurep! :tools magit)
|
(when (featurep! :tools magit)
|
||||||
(package! orgit :pin "e7cddf39e3"))
|
(package! orgit :pin "e7cddf39e3"))
|
||||||
(when (featurep! +brain)
|
(when (featurep! +brain)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue