summaryrefslogtreecommitdiff
path: root/cider-eldoc.el
diff options
context:
space:
mode:
authorErik Assum <erik@assum.net>2017-03-10 16:35:17 +0100
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-03-10 17:35:17 +0200
commit00b44fda412259c1d1e0f9e43d08fd00bedf0085 (patch)
tree22b89d5ccbb47d07581806df3a01e24b324f27b4 /cider-eldoc.el
parenteefdced69c88da26f36c57d95b84a1eef50928f4 (diff)
[Fix #1352] Add checkdoc to build (#1957)
This also fixes some issues checkdoc was currently reporting.
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index 5314ef26..b7012b46 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -116,7 +116,7 @@ mapping `cider-eldoc-ns-function' on it returns an empty list."
(t (format "%s" (car eldoc-class-names))))))
(defun cider-eldoc-format-thing (ns symbol thing type)
- "Format the eldoc subject defined by NS, SYMBOL and THING.
+ "Format the eldoc subject defined by NS, SYMBOL, THING and TYPE.
THING represents the thing at point which triggered eldoc. Normally NS and
SYMBOL are used (they are derived from THING), but when empty we fallback to
THING (e.g. for Java methods). Format it as a function, if FUNCTION-P
@@ -294,7 +294,7 @@ if the maximum number of sexps to skip is exceeded."
num-skipped-sexps))
(defun cider-eldoc-thing-type (eldoc-info)
- "Return the type of the thing being displayed by eldoc.
+ "Return the type of the ELDOC-INFO being displayed by eldoc.
It can be a function or var now."
(pcase (lax-plist-get eldoc-info "type")
("function" 'fn)