Function: pdf-view-kill-ring-save

pdf-view-kill-ring-save is an interactive and natively compiled function defined in pdf-view.el.

Signature

(pdf-view-kill-ring-save)

Documentation

Copy the region to the kill-ring.

Key Bindings

pdf-view-mode-map <copy> pdf-view-mode-map <cut> pdf-view-mode-map C-<insert> pdf-view-mode-map C-<insertchar> pdf-view-mode-map C-w pdf-view-mode-map M-w pdf-view-mode-map S-<delete>

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-view.el
(defun pdf-view-kill-ring-save ()
  "Copy the region to the `kill-ring'."
  (interactive)
  (pdf-view-assert-active-region)
  (let* ((txt (pdf-view-active-region-text)))
    (pdf-view-deactivate-region)
    (kill-new (mapconcat 'identity txt "\n"))))