summaryrefslogtreecommitdiff
path: root/init-macros.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'init-macros.fnl')
-rw-r--r--init-macros.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-macros.fnl b/init-macros.fnl
index 7ee918b..3efed1c 100644
--- a/init-macros.fnl
+++ b/init-macros.fnl
@@ -149,7 +149,7 @@ string is given, it's value is set to `true` in the meta table."
[{:private true} name val]))
`(local ,name ,val)
[name val]
- (if current-ns
+ (if (in-scope? current-ns)
`(local ,name
(let [v# ,val]
(tset ,current-ns ,(tostring name) v#)