Function: cider-ns-edit--elements

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

Signature

(cider-ns-edit--elements POS)

Documentation

Return the start positions of the elements of the list or vector at POS.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-ns.el
(defun cider-ns-edit--elements (pos)
  "Return the start positions of the elements of the list or vector at POS."
  (save-excursion
    (let ((end (1- (scan-sexps pos 1)))
          elements)
      (goto-char (1+ pos))
      (cider-ns-edit--skip-blanks)
      (while (< (point) end)
        (push (point) elements)
        (goto-char (scan-sexps (point) 1))
        (cider-ns-edit--skip-blanks))
      (nreverse elements))))