Function: cua-copy-region--pdf-view-advice

cua-copy-region--pdf-view-advice is a natively compiled function defined in pdf-view.el.

Signature

(cua-copy-region--pdf-view-advice &rest _)

Documentation

If the current buffer is in pdf-view mode, call pdf-view-kill-ring-save.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-view.el
(defun cua-copy-region--pdf-view-advice (&rest _)
  "If the current buffer is in `pdf-view' mode, call `pdf-view-kill-ring-save'."
  (when (eq major-mode 'pdf-view-mode)
    (pdf-view-kill-ring-save)
    t))