Skip to content

Commit c7c7550

Browse files
committed
Appease checkdoc
1 parent eca1a96 commit c7c7550

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

clojure-ts-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ Skip the optional metadata node at pos 0 if present."
833833
t)))
834834

835835
(defun clojure-ts--first-value-child (node)
836-
"Returns the first value child of the given NODE.
836+
"Return the first value child of the given NODE.
837837
838838
In the syntax tree, there are a few types of possible child nodes:
839839
unnamed standalone nodes (e.g., comments), anonymous nodes (e.g.,
@@ -885,7 +885,7 @@ See `clojure-ts--definition-node-p' when an exact match is possible."
885885
(defun clojure-ts--standard-definition-node-name (node)
886886
"Return the definition name for the given NODE.
887887
888-
Returns nil if NODE is not a list with symbols as the first two
888+
Return nil if NODE is not a list with symbols as the first two
889889
children. For example the node representing the expression (def foo 1)
890890
would return foo. The node representing (ns user) would return user.
891891
Does not do any matching on the first symbol (def, defn, etc), so
@@ -909,7 +909,7 @@ Can be called directly, but intended for use as `treesit-defun-name-function'."
909909
(defun clojure-ts--kwd-definition-node-name (node)
910910
"Return the keyword name for the given NODE.
911911
912-
Returns nil if NODE is not a list where the first element is a symbol
912+
Return nil if NODE is not a list where the first element is a symbol
913913
and the second is a keyword. For example, a node representing the
914914
expression (s/def ::foo int?) would return foo.
915915

test/clojure-ts-mode-indentation-test.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ DESCRIPTION is a string with the description of the spec."
124124
;; Mock `cider--get-symbol-indent' function
125125

126126
(defun cider--get-symbol-indent-mock (symbol-name)
127-
"Returns static mocked indentation specs for SYMBOL-NAME if available."
127+
"Return static mocked indentation specs for SYMBOL-NAME if available."
128128
(when (stringp symbol-name)
129129
(cond
130130
((string-equal symbol-name "my-with-in-str") 1)

test/test-helper.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ and point left there."
4848
,@body)))
4949

5050
(defun clojure-ts--s-index-of (needle s &optional ignore-case)
51-
"Returns first index of NEEDLE in S, or nil.
51+
"Return first index of NEEDLE in S, or nil.
5252
5353
If IGNORE-CASE is non-nil, the comparison is done without paying
5454
attention to case differences."

0 commit comments

Comments
 (0)