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'."
1268
1268
(interactive )
1269
1269
(cider--pprint-eval-form (cider-defun-at-point 'bounds )))
1270
1270
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."
1276
1273
(interactive )
1277
1274
(when (clojure-find-ns)
1278
1275
(save-excursion
1279
1276
(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))))
1286
1278
1287
1279
(defun cider-read-and-eval (&optional value )
1288
1280
" 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