File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -492,7 +492,8 @@ or it can be a list with (START END) of the evaluated region."
492
492
'())))
493
493
494
494
(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."
496
497
(let ((eval-buffer (current-buffer )))
497
498
(nrepl-make-response-handler (or buffer eval-buffer)
498
499
(lambda (buffer value )
@@ -1083,7 +1084,8 @@ passing arguments."
1083
1084
" Load (eval) BUFFER's file in nREPL.
1084
1085
If no buffer is provided the command acts on the current buffer. If the
1085
1086
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’."
1087
1089
(interactive )
1088
1090
(setq buffer (or buffer (current-buffer )))
1089
1091
; ; When cider-load-buffer or cider-load-file are called in programs the
You can’t perform that action at this time.
0 commit comments