File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1268,21 +1268,13 @@ command `cider-debug-defun-at-point'."
12681268 (interactive )
12691269 (cider--pprint-eval-form (cider-defun-at-point 'bounds )))
12701270
1271- (defun cider-eval-ns-form (&optional sync )
1272- " Evaluate the current buffer's namespace form.
1273-
1274- When SYNC is true the form is evaluated synchronously,
1275- otherwise it's evaluated interactively."
1271+ (defun cider-eval-ns-form ()
1272+ " Evaluate the current buffer's namespace form."
12761273 (interactive )
12771274 (when (clojure-find-ns)
12781275 (save-excursion
12791276 (goto-char (match-beginning 0 ))
1280- (if sync
1281- ; ; The first interactive eval on a file can load a lot of libs. This
1282- ; ; can easily lead to more than 10 sec.
1283- (let ((nrepl-sync-request-timeout 30 ))
1284- (cider-nrepl-sync-request:eval (cider-defun-at-point)))
1285- (cider-eval-defun-at-point)))))
1277+ (cider-eval-defun-at-point))))
12861278
12871279(defun cider-read-and-eval (&optional value )
12881280 " Read a sexp from the minibuffer and output its result to the echo area.
You can’t perform that action at this time.
0 commit comments