Function: cider-repl-mode-beginning-of-defun

cider-repl-mode-beginning-of-defun is a byte-compiled function defined in cider-repl.el.

Signature

(cider-repl-mode-beginning-of-defun &optional ARG)

Documentation

Move to the beginning of defun.

If given a negative value of ARG, move to the end of defun.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl.el
(defun cider-repl-mode-beginning-of-defun (&optional arg)
  "Move to the beginning of defun.
If given a negative value of ARG, move to the end of defun."
  (if (and arg (< arg 0))
      (cider-repl-mode-end-of-defun (- arg))
    (dotimes (_ (or arg 1))
      (cider-repl-previous-prompt))))