Function: pdf-view-assert-active-region

pdf-view-assert-active-region is a macro defined in pdf-view.el.

Signature

(pdf-view-assert-active-region)

Documentation

Signal an error if there are no active regions.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-view.el
(defmacro pdf-view-assert-active-region ()
  "Signal an error if there are no active regions."
  `(unless (pdf-view-active-region-p)
     (error "The region is not active")))