Skip to content

Commit 4f45ba9

Browse files
committed
Document LIMIT argument in clojure--search-comment-macro
1 parent 4d8c8eb commit 4f45ba9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clojure-mode.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,10 @@ comment, you can set the value to:
359359
t))))
360360

361361
(defun clojure--search-comment-macro (limit)
362-
"Find comment macros and set the match data."
362+
"Find comment macros and set the match data.
363+
Search from point up to LIMIT. The region that should be
364+
considered a comment is between `(match-beginning 1)'
365+
and `(match-end 1)'."
363366
(let ((result 'retry))
364367
(while (and (eq result 'retry) (<= (point) limit))
365368
(condition-case nil

0 commit comments

Comments
 (0)