Skip to content

Commit 9d43284

Browse files
malltMalabarba
authored andcommitted
Show default action in apropos act on symbol prompt (#1800)
1 parent cd0a2d7 commit 9d43284

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cider-apropos.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ optionally search doc strings (based on DOCS-P), include private vars
154154
(let* ((first-action-key (car (car cider-apropos-actions)))
155155
(action-key (if (= 1 (length cider-apropos-actions))
156156
first-action-key
157-
(completing-read (format "Choose action to apply to `%s`: " symbol)
157+
(completing-read (format "Choose action to apply to `%s` (default %s): "
158+
symbol first-action-key)
158159
cider-apropos-actions nil nil nil nil first-action-key)))
159160
(action-fn (cdr (assoc action-key cider-apropos-actions))))
160161
(if action-fn

0 commit comments

Comments
 (0)