File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1367,6 +1367,7 @@ that a normal reload would not otherwise recover from. The trade-off of
1367
1367
clearing is that stale code from any deleted files may not be completely
1368
1368
unloaded."
1369
1369
(interactive " p" )
1370
+ (cider-ensure-connected)
1370
1371
(cider-ensure-op-supported " refresh" )
1371
1372
(let ((clear? (member mode '(clear 16 )))
1372
1373
(refresh-all? (member mode '(refresh-all 4 ))))
@@ -1501,6 +1502,7 @@ the string contents of the region into a formatted string."
1501
1502
(defun cider-format-edn-region (start end )
1502
1503
" Format the EDN data in the current region."
1503
1504
(interactive " r" )
1505
+ (cider-ensure-connected)
1504
1506
(let* ((start-column (save-excursion (goto-char start) (current-column )))
1505
1507
(right-margin (- fill-column start-column)))
1506
1508
(cider--format-region start end
You can’t perform that action at this time.
0 commit comments