Function: pdf-info-getannot

pdf-info-getannot is a natively compiled function defined in pdf-info.el.

Signature

(pdf-info-getannot ID &optional FILE-OR-BUFFER)

Documentation

Return the annotation for ID.

ID should be a symbol, which was previously returned in a pdf-info-getannots query. Signal an error, if an annotation with ID is not available.

See pdf-info-getannots for the kind of return value of this function.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-info.el
(defun pdf-info-getannot (id &optional file-or-buffer)
  "Return the annotation for ID.

ID should be a symbol, which was previously returned in a
`pdf-info-getannots' query.  Signal an error, if an annotation
with ID is not available.

See `pdf-info-getannots' for the kind of return value of this
function."
  (pdf-info-query
   'getannot
   (pdf-info--normalize-file-or-buffer file-or-buffer)
   id))