Skip to content

Commit cb87da4

Browse files
madandbbatsov
authored andcommitted
Make links in "Also see" section to be text buttons (#2079)
This minor change is for compatibility with [ace-link](https://github.com/abo-abo/ace-link) package, which cannot detect links created with `insert-button`.
1 parent a1eee8c commit cb87da4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cider-doc.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,9 @@ Tables are marked to be ignored by line wrap."
484484
;; if the var belongs to the same namespace,
485485
;; we omit the namespace to save some screen space
486486
(symbol (if (equal ns see-also-ns) see-also-sym ns-sym)))
487-
(insert-button symbol
488-
'type 'help-xref
489-
'help-function (apply-partially #'cider-doc-lookup symbol)))
487+
(insert-text-button symbol
488+
'type 'help-xref
489+
'help-function (apply-partially #'cider-doc-lookup symbol)))
490490
(insert " "))
491491
see-also))
492492
(cider--doc-make-xrefs)

0 commit comments

Comments
 (0)