Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cider-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
:group 'cider-docview-mode
:package-version '(cider . "0.7.0"))

(defcustom cider-docview-select-buffer t
Copy link
Member

Choose a reason for hiding this comment

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

That's not really related to cider-docview-mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what about changing group to cider-doc?

"Autoselect the documentation viewer after popup."
:type 'boolean
:group 'cider-docview-mode
Copy link
Member

Choose a reason for hiding this comment

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

This should be cider-doc.

:package-version '(cider . "0.7.0"))
Copy link
Member

Choose a reason for hiding this comment

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

And it wasn't introduced in CIDER 0.7. :-)



;; Faces
Expand Down Expand Up @@ -263,7 +268,7 @@ opposite of what that option dictates."
(defun cider-doc-lookup (symbol)
"Look up documentation for SYMBOL."
(if-let ((buffer (cider-create-doc-buffer symbol)))
(cider-popup-buffer-display buffer t)
(cider-popup-buffer-display buffer cider-docview-select-buffer)
(user-error "Symbol %s not resolved" symbol)))

(defun cider-doc (&optional arg)
Expand Down