Skip to content

Commit fa7b9d8

Browse files
committed
Add apropos-special-form button type
1 parent 238c60c commit fa7b9d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cider-apropos.el

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ the symbol found by the apropos search as argument."
5454
:group 'cider
5555
:package-version '(cider . "0.13.0"))
5656

57+
(define-button-type 'apropos-special-form
58+
'apropos-label "Special form"
59+
'apropos-short-label "s"
60+
'face 'apropos-misc-button
61+
'help-echo "mouse-2, RET: Display more help on this special form"
62+
'follow-link t
63+
'action (lambda (button)
64+
(describe-function (button-get button 'apropos-symbol))))
65+
5766
(defun cider-apropos-doc (button)
5867
"Display documentation for the symbol represented at BUTTON."
5968
(cider-doc-lookup (button-get button 'apropos-symbol)))

0 commit comments

Comments
 (0)