diff --git a/src/fennel/specials.fnl b/src/fennel/specials.fnl index ec911c47..545be86a 100644 --- a/src/fennel/specials.fnl +++ b/src/fennel/specials.fnl @@ -1116,7 +1116,7 @@ modules in the compiler environment." (let [(loader filename) (search-macro-module modname 1)] (compiler.assert loader (.. modname " module not found.") ast) (tset macro-loaded modname (loader modname filename)))) - (utils.hook :required-macro modname) + (utils.hook :require-macros ast scope modname) ;; if we're called from import-macros, return the modname, else add them ;; to scope directly (if (= :import-macros (tostring (. ast 1)))