use-layer
is a nicer way to write your .spacemacs
configuration file.
Under the covers, it is a use-package
rip-off, all the credit should go to
John Wiegley and contributors to the use-package
project. I merely
copy-pasted the core macro and tweaked it a bit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar use-layer-configuration-layers nil) | |
(defvar use-layer-init-hook nil) | |
(defvar use-layer-config-hook nil) | |
(defvar use-layer-excluded-packages nil) | |
(defsubst use-layer-error (msg) | |
(error "use-layer: %s" msg)) |