💥 Change first arg of load! macro
load!'s first argument is no longer a symbol (that will cause void-variable errors now) to save on unnecessary interning and simplify compile-time logic. It accepts any valid form that evaluates to a string now. If you use load!, you need to change its argument to a string! e.g. (load! +my-module) => (load! "+my-module")
This commit is contained in:
parent
bdee28609a
commit
1a452b6842
14 changed files with 48 additions and 56 deletions
|
@ -3,10 +3,10 @@
|
|||
;; Eagerly load these libraries because this module may be loaded in a session
|
||||
;; that hasn't been fully initialized (where autoloads files haven't been
|
||||
;; generated or `load-path' populated).
|
||||
(load! autoload/packages)
|
||||
(load! autoload/modules)
|
||||
(load! autoload/debug)
|
||||
(load! autoload/message)
|
||||
(load! "autoload/packages")
|
||||
(load! "autoload/modules")
|
||||
(load! "autoload/debug")
|
||||
(load! "autoload/message")
|
||||
|
||||
|
||||
;;
|
||||
|
@ -175,7 +175,7 @@ respectively."
|
|||
|
||||
(def-dispatcher! test
|
||||
"Run Doom unit tests."
|
||||
(load! autoload/test)
|
||||
(load! "autoload/test")
|
||||
(doom//run-tests args))
|
||||
|
||||
(def-dispatcher! info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue