Fix typo
This commit is contained in:
parent
f04fe6f2a5
commit
7d80dc1073
@ -1451,12 +1451,11 @@ this document to =html= and LaTeX correctly.
|
||||
(defun org-pdfview-store-link ()
|
||||
"Store a \"pdfview\" type link."
|
||||
(when (eq major-mode 'pdf-view-mode)
|
||||
;; This buffer is in pdf-view-mode
|
||||
(let* ((path buffer-file-name)
|
||||
(page (pdf-view-current-page))
|
||||
(link (concat "pdfview:" path "::" (number-to-string page))))
|
||||
(org-link-store-props
|
||||
:type "pdftools"
|
||||
:type "pdfview"
|
||||
:link link
|
||||
:description path)))))
|
||||
#+end_src
|
||||
|
Loading…
x
Reference in New Issue
Block a user