Function: cider-apropos-act-on-symbol
cider-apropos-act-on-symbol is a byte-compiled function defined in
cider-apropos.el.
Signature
(cider-apropos-act-on-symbol SYMBOL)
Documentation
Apply selected action on SYMBOL.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-apropos.el
(defun cider-apropos-act-on-symbol (symbol)
"Apply selected action on SYMBOL."
(let* ((first-action-key (car (car cider-apropos-actions)))
(action-key (if (= 1 (length cider-apropos-actions))
first-action-key
(completing-read (format "Choose action to apply to `%s` (default %s): "
symbol first-action-key)
cider-apropos-actions nil nil nil nil first-action-key)))
(action-fn (cdr (assoc action-key cider-apropos-actions))))
(if action-fn
(funcall action-fn symbol)
(user-error "Unknown action `%s`" action-key))))