We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42db94e commit 98e0d0aCopy full SHA for 98e0d0a
cider-interaction.el
@@ -1252,7 +1252,8 @@ is nil use `cider-interactive-eval-handler'."
1252
START-POS is a starting position of the form in the original context."
1253
(let* ((ns-form (if (cider-ns-form-p form)
1254
""
1255
- (or (cider-ns-form)
+ (or (-when-let (form (cider-ns-form))
1256
+ (replace-regexp-in-string ":reload\\(-all\\)?\\>" "" form))
1257
(->> (get-buffer (cider-current-repl-buffer))
1258
(buffer-local-value 'nrepl-buffer-ns)
1259
(setq nrepl-buffer-ns)
0 commit comments