Skip to content

Commit af1ab56

Browse files
yuhan0bbatsov
authored andcommitted
Update docs for undef-all changes
1 parent e71c2aa commit af1ab56

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/modules/ROOT/pages/usage/cider_mode.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ kbd:[C-u C-c C-c]
123123

124124
| `cider-eval-ns-form`
125125
| kbd:[C-c C-v n]
126-
| Eval the ns form.
126+
| Eval the ns form. If invoked with a prefix argument, undefine all vars and aliases in the ns first.
127127

128128
| `cider-repl-set-ns`
129129
| kbd:[C-c M-n (M-)n]
@@ -151,15 +151,15 @@ kbd:[C-u C-c C-c]
151151

152152
| `cider-load-buffer`
153153
| kbd:[C-c C-k]
154-
| Load (eval) the current buffer.
154+
| Load (eval) the current buffer. If invoked with a prefix argument, undefine all vars and aliases in the ns before loading.
155155

156156
| `cider-load-file`
157157
| kbd:[C-c C-l]
158-
| Load (eval) a Clojure file.
158+
| Load (eval) a Clojure file. If invoked with a prefix argument, undefine all vars and aliases in the ns before loading.
159159

160160
| `cider-load-all-files`
161161
| kbd:[C-c C-M-l]
162-
| Load (eval) all Clojure files below a directory.
162+
| Load (eval) all Clojure files below a directory. If invoked with a prefix argument, undefine all vars and aliases in each file before loading.
163163

164164
| `cider-ns-refresh`
165165
| kbd:[C-c M-n (M-)r]
@@ -216,6 +216,10 @@ kbd:[C-c C-d C-e]
216216
| kbd:[C-c C-u]
217217
| Undefine a symbol. If invoked with a prefix argument it inverts the value of `cider-prompt-for-symbol`.
218218

219+
| `cider-undef-all`
220+
| kbd:[C-c C-M-u]
221+
| Undefine all symbols and aliases in the namespace.
222+
219223
| `cider-test-run-test`
220224
| kbd:[C-c C-t t] +
221225
kbd:[C-c C-t C-t]

0 commit comments

Comments
 (0)