Function: cider-ns-edit--check

cider-ns-edit--check is a byte-compiled function defined in cider-ns.el.

Signature

(cider-ns-edit--check)

Documentation

Signal an error unless the buffer has an ns form that can be edited.

Return the start of the ns form.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-ns.el
(defun cider-ns-edit--check ()
  "Signal an error unless the buffer has an ns form that can be edited.
Return the start of the ns form."
  (barf-if-buffer-read-only)
  (or (cider-ns-edit--ns-form-start)
      (user-error "No ns form in this buffer")))