Function: hui:validate-region

hui:validate-region is a byte-compiled function defined in hui.el.

Signature

(hui:validate-region BEG END REGION)

Documentation

Trigger a user error unless BEG and END are whole numbers or REGION is non-nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui.el
(defun hui:validate-region (beg end region)
  "Trigger a user error unless BEG and END are whole numbers or REGION is non-nil."
  (unless (or (and (number-or-marker-p beg) (number-or-marker-p end)) region)
    (user-error "The mark is not set now, so there is no region")))