Function: cider-macroexpand-1
cider-macroexpand-1 is an autoloaded, interactive and byte-compiled
function defined in cider-macroexpansion.el.
Signature
(cider-macroexpand-1 &optional PREFIX)
Documentation
Invoke `macroexpand-1` on the expression preceding point.
The expression is located per cider-form-targeting; with smart
targeting it is never narrower than a compound form.
If invoked with a PREFIX argument, use `macroexpand` instead of
`macroexpand-1`.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-macroexpansion.el
;;;###autoload
(defun cider-macroexpand-1 (&optional prefix)
"Invoke \\=`macroexpand-1\\=` on the expression preceding point.
The expression is located per `cider-form-targeting'; with `smart'
targeting it is never narrower than a compound form.
If invoked with a PREFIX argument, use \\=`macroexpand\\=` instead of
\\=`macroexpand-1\\=`."
(interactive "P")
;; `compound' because a bare symbol is not expandable - with smart
;; targeting, point mid-symbol targets the enclosing call instead.
(let ((form (cider-form-string 'compound))
(expander (if prefix "macroexpand" "macroexpand-1")))
(cider-ensure-macro (cider-macroexpansion--operator form))
(cider-macroexpand-expr expander form)))