Function: cider-cheatsheet--expand-vars

cider-cheatsheet--expand-vars is a byte-compiled function defined in cider-cheatsheet.el.

Signature

(cider-cheatsheet--expand-vars LIST)

Documentation

Expand the symbols in LIST to fully-qualified var names.

This list is supposed to have the following format:

  (my-ns var1 var2 var3)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-cheatsheet.el
(defun cider-cheatsheet--expand-vars (list)
  "Expand the symbols in LIST to fully-qualified var names.

This list is supposed to have the following format:

  (my-ns var1 var2 var3)"
  (let ((ns (car list))
        (vars (cdr list)))
    (if (eq ns :special)
        (mapcar #'symbol-name vars)
      (mapcar (lambda (var) (format "%s/%s" ns var)) vars))))