Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions org-noter-pdftools.el
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ To use this, `org-noter-pdftools-use-org-id' has to be t."
nil)))))

;; TODO(nox): Implement interface for skeleton creation
(defun org-noter-pdftools-create-skeleton ()
(defun org-noter-pdftools-create-skeleton (&optional page-number)
"Create notes skeleton with the PDF outline or annotations.
Only available with PDF Tools."
(interactive)
Expand Down Expand Up @@ -505,7 +505,7 @@ Only available with PDF Tools."

(setq insert-contents (y-or-n-p "Should we insert the annotations contents? "))

(dolist (item (pdf-info-getannots))
(dolist (item (pdf-info-getannots page-number))
(let* ((type (alist-get 'type item))
(page (alist-get 'page item))
(edges (or (org-noter--pdf-tools-edges-to-region (alist-get 'markup-edges item))
Expand Down