💥 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:
Henrik Lissner 2018-05-27 12:44:22 +02:00
parent bdee28609a
commit 1a452b6842
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
14 changed files with 48 additions and 56 deletions

View file

@ -2,9 +2,9 @@
(add-hook 'java-mode-hook #'rainbow-delimiters-mode)
(cond ((featurep! +meghanada) (load! +meghanada))
(cond ((featurep! +meghanada) (load! "+meghanada"))
;; TODO lang/java +lsp (lsp-java?)
;; ((featurep! +lsp) (load! +lsp))
;; ((featurep! +lsp) (load! "+lsp"))
)