Function: pdf-info-delannot
pdf-info-delannot is a natively compiled function defined in
pdf-info.el.
Signature
(pdf-info-delannot ID &optional FILE-OR-BUFFER)
Documentation
Delete the annotation with ID in FILE-OR-BUFFER.
ID should be a symbol, which was previously returned in a
pdf-info-getannots query. Signal an error, if annotation ID
does not exist.
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-delannot (id &optional file-or-buffer)
"Delete the annotation with ID in FILE-OR-BUFFER.
ID should be a symbol, which was previously returned in a
`pdf-info-getannots' query. Signal an error, if annotation ID
does not exist."
(pdf-info-assert-writable-annotations)
(pdf-info-query
'delannot
(pdf-info--normalize-file-or-buffer file-or-buffer)
id))