Function: pdf-info-save

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

Signature

(pdf-info-save &optional FILE-OR-BUFFER)

Documentation

Save FILE-OR-BUFFER.

This saves the document to a new temporary file, which is returned and owned by the caller.

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-save (&optional file-or-buffer)
  "Save FILE-OR-BUFFER.

This saves the document to a new temporary file, which is
returned and owned by the caller."
  (pdf-info-assert-writable-annotations)
  (pdf-info-query
   'save
   (pdf-info--normalize-file-or-buffer file-or-buffer)))