Skip to content

Conversation

tongjie-chen
Copy link
Contributor

This "See Also" part in cider-clojuredocs buffer becomes clickable

@bbatsov
Copy link
Member

bbatsov commented Nov 24, 2021

I guess the CI is failing because of the broken indentation. Don't forget to also mention this in the changelog.

(let ((docs (cider-sync-request:clojuredocs-lookup (cider-current-ns) sym)))
(pop-to-buffer (cider-create-clojuredocs-buffer (cider-clojuredocs--content docs)))))
(pop-to-buffer (cider-create-clojuredocs-buffer (cider-clojuredocs--content docs)))
(highlight-regexp (car (last (split-string sym "/"))) 'bold)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unrelated to the button to me. Also if you know that split-string returns just two elements you can use directly cadr or nth.

@bbatsov bbatsov merged commit 2bcf576 into clojure-emacs:master Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants