Skip to content

Commit

Permalink
Tweak docstrings of cider-var-info and cider-member-info
Browse files Browse the repository at this point in the history
  • Loading branch information
katomuso authored and bbatsov committed Jun 8, 2024
1 parent feb8af5 commit 09d3dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cider-client.el
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ Used only when the info nREPL middleware is not available."
var-info))

(defun cider-var-info (var &optional all)
"Return VAR's info as an alist with list cdrs.
"Return info for VAR as an nREPL dict.
When multiple matching vars are returned you'll be prompted to select one,
unless ALL is truthy."
(when (and var (not (string= var "")))
Expand All @@ -559,7 +559,7 @@ unless ALL is truthy."
(if all var-info (cider--var-choice var-info)))))

(defun cider-member-info (class member)
"Return the CLASS MEMBER's info as an alist with list cdrs."
"Return info for MEMBER of CLASS as an nREPL dict."
(when (and class member)
(cider-sync-request:info nil class member (cider-completion-get-context t))))

Expand Down

0 comments on commit 09d3dd4

Please sign in to comment.