Skip to content

Commit b6c0faa

Browse files
magnarsbbatsov
authored andcommitted
Fix checkdoc
1 parent 3b7dfc3 commit b6c0faa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cider-eval.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,8 @@ or it can be a list with (START END) of the evaluated region."
492492
'())))
493493

494494
(defun cider-load-file-handler (&optional buffer done-handler)
495-
"Make a load file handler for BUFFER."
495+
"Make a load file handler for BUFFER.
496+
Optional argument DONE-HANDLER lambda will be run once load is complete."
496497
(let ((eval-buffer (current-buffer)))
497498
(nrepl-make-response-handler (or buffer eval-buffer)
498499
(lambda (buffer value)
@@ -1083,7 +1084,8 @@ passing arguments."
10831084
"Load (eval) BUFFER's file in nREPL.
10841085
If no buffer is provided the command acts on the current buffer. If the
10851086
buffer is for a cljc file, and both a Clojure and ClojureScript REPL exists
1086-
for the project, it is evaluated in both REPLs."
1087+
for the project, it is evaluated in both REPLs.
1088+
Optional argument CALLBACK will override the default ‘cider-load-file-handler’."
10871089
(interactive)
10881090
(setq buffer (or buffer (current-buffer)))
10891091
;; When cider-load-buffer or cider-load-file are called in programs the

0 commit comments

Comments
 (0)