Skip to content

Commit 4a9147f

Browse files
committed
[#1069] Show a link to the source in the doc buffer
1 parent c777d48 commit 4a9147f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cider-doc.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ Tables are marked to be ignored by line wrap."
353353
(browse-url (button-get x 'url))))
354354
(insert ".")
355355
(newline))
356+
(newline)
357+
(insert-text-button "[source]"
358+
'follow-link t
359+
'action (lambda (x)
360+
(cider-docview-source)))
356361
(let ((beg (point-min))
357362
(end (point-max)))
358363
(nrepl-dict-map (lambda (k v)

0 commit comments

Comments
 (0)