File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 36
36
37
37
(push cider-macroexpansion-buffer cider-ancilliary-buffers)
38
38
39
+ (defcustom cider-macroexpansion-suppress-namespaces nil
40
+ " When non-nil namespaces won't be displayed in the macroexpansion buffer."
41
+ :type 'boolean
42
+ :group 'cider
43
+ :package-version '(cider . " 0.7.0" ))
44
+
39
45
(defun cider-macroexpand-undo (&optional arg )
40
46
" Undo the last macroexpansion, using `undo-only' .
41
47
ARG is passed along to `undo-only' ."
@@ -54,7 +60,7 @@ This variable specifies both what was expanded and the expander.")
54
60
(list " op" expander
55
61
" code" expr
56
62
" ns" (cider-current-ns)
57
- " suppress-namespaces" " false " )) :value ))
63
+ " suppress-namespaces" cider-macroexpansion-suppress-namespaces )) :value ))
58
64
59
65
(defun cider-macroexpand-expr (expander expr )
60
66
" Macroexpand, use EXPANDER, the given EXPR."
You can’t perform that action at this time.
0 commit comments