summaryrefslogtreecommitdiff
path: root/cider-test.el
diff options
context:
space:
mode:
authorChaitanya Koparkar <ckoparkar@live.in>2016-04-06 12:29:50 +0530
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2016-04-06 09:59:50 +0300
commit140bb130f17ec9eb5db73133c60bc8269938e467 (patch)
treec383bf71b6d6d874f5a6c60f9bedc499e9a86302 /cider-test.el
parentd3725e9c5826871e137968af7247cb88ba97e2cc (diff)
[#1352] Documentation complies with checkdoc style
Diffstat (limited to 'cider-test.el')
-rw-r--r--cider-test.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/cider-test.el b/cider-test.el
index 86904bf4..6edc03b1 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -212,7 +212,9 @@
(goto-char pos))))))
(defun cider-test-jump (&optional arg)
- "Like `cider-find-var', but uses the test at point's definition, if available."
+ "Find definition for test at point, if available.
+The prefix ARG and `cider-prompt-for-symbol' decide whether to
+prompt and whether to use a new window. Similar to `cider-find-var'."
(interactive "P")
(let ((ns (get-text-property (point) 'ns))
(var (get-text-property (point) 'var))
@@ -469,8 +471,8 @@ The optional arg TEST denotes an individual test name."
(overlay-put overlay 'actual actual))))))))
(defun cider-find-var-file (ns var)
- "Return the buffer visiting the file in which the NS VAR is defined, or nil if
-not found."
+ "Return the buffer visiting the file in which the NS VAR is defined.
+Or nil if not found."
(cider-ensure-op-supported "info")
(when-let ((info (cider-var-info (concat ns "/" var)))
(file (nrepl-dict-get info "file")))