Function: cider-ns-edit--libspec-option

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

Signature

(cider-ns-edit--libspec-option POS KEYWORD)

Documentation

Return the start of the value of KEYWORD in the libspec at POS, or nil.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-ns.el
(defun cider-ns-edit--libspec-option (pos keyword)
  "Return the start of the value of KEYWORD in the libspec at POS, or nil."
  (let ((elements (cdr (cider-ns-edit--elements pos))))
    (while (and elements
                (not (equal (cider-ns-edit--text (car elements)) keyword)))
      (setq elements (cdr elements)))
    (cadr elements)))