Function: evil-signal-at-bob-or-eob
evil-signal-at-bob-or-eob is a byte-compiled function defined in
evil-common.el.
Signature
(evil-signal-at-bob-or-eob &optional COUNT)
Documentation
Signal error if point is at boundaries.
If point is at bob and COUNT is negative this function signals
beginning-of-buffer. If point is at eob and COUNT is positive
this function signals end-of-buffer. This function should be used
in motions. COUNT defaults to 1.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-signal-at-bob-or-eob (&optional count)
"Signal error if `point' is at boundaries.
If `point' is at bob and COUNT is negative this function signals
`beginning-of-buffer'. If `point' is at eob and COUNT is positive
this function signals `end-of-buffer'. This function should be used
in motions. COUNT defaults to 1."
(setq count (or count 1))
(cond
((< count 0) (evil-signal-at-bob))
((> count 0) (evil-signal-at-eob))))