Function: evil-signal-at-bob

evil-signal-at-bob is a byte-compiled function defined in evil-common.el.

Signature

(evil-signal-at-bob)

Documentation

Signal beginning-of-buffer if point is at bob.

This function should be used in backward motions. If point is at bob so that no further backward motion is possible the error beginning-of-buffer is raised.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-signal-at-bob ()
  "Signal `beginning-of-buffer' if `point' is at bob.
This function should be used in backward motions. If `point' is at
bob so that no further backward motion is possible the error
`beginning-of-buffer' is raised."
  (when (bobp) (signal 'beginning-of-buffer nil)))