summaryrefslogtreecommitdiff
path: root/init.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'init.fnl')
-rw-r--r--init.fnl5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.fnl b/init.fnl
index 7dd1696..0ef4e48 100644
--- a/init.fnl
+++ b/init.fnl
@@ -54,7 +54,10 @@ non-ASCII strings."})
(import-macros {: defn : into : empty
: when-let : if-let : when-some : if-some}
- (if (and ... (not= ... :init)) (.. ... :.init-macros) :init-macros))
+ ;; tricky relative require to make it work from
+ ;; anywhere as (require :cljlib) and as well
+ ;; (import-macros cljm :cljlib)
+ (if ... (if (= ... :init) :init-macros ...) :init-macros))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Utility functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;