diff options
author | Andriy Kmit <dev@madand.net> | 2017-08-29 18:36:33 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-08-29 18:36:33 +0300 |
commit | cb87da4e73c92abed744d3488311a1cb3d980476 (patch) | |
tree | 701968a3e0bad6825348d52de66a07dde7270421 /cider-doc.el | |
parent | a1eee8c71237c98809c4852d9b1c799da903cd4f (diff) |
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`.
Diffstat (limited to 'cider-doc.el')
-rw-r--r-- | cider-doc.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cider-doc.el b/cider-doc.el index 55c663d1..7b33fc76 100644 --- a/cider-doc.el +++ b/cider-doc.el @@ -484,9 +484,9 @@ Tables are marked to be ignored by line wrap." ;; if the var belongs to the same namespace, ;; we omit the namespace to save some screen space (symbol (if (equal ns see-also-ns) see-also-sym ns-sym))) - (insert-button symbol - 'type 'help-xref - 'help-function (apply-partially #'cider-doc-lookup symbol))) + (insert-text-button symbol + 'type 'help-xref + 'help-function (apply-partially #'cider-doc-lookup symbol))) (insert " ")) see-also)) (cider--doc-make-xrefs) |