General, minor refactor

This commit is contained in:
Henrik Lissner 2017-09-26 21:55:01 +02:00
parent 86ff43c6cb
commit 546ca0e313
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 30 additions and 31 deletions

View file

@ -213,11 +213,10 @@ Body forms can access the hook's arguments through the let-bound variable
;; I'm a fan of concise, hassle-free front-facing configuration. Rather than
;; littering my config with `after!' blocks, these two macros offer a faster and
;; more robust alternative. The motivation: to facilitate concise cross-module
;; configuration.
;;
;; It also benefits from byte-compilation.
;; littering my config with `after!' blocks, and checking if features and
;; modules are loaded before every line of config, I wrote `set!' as a more
;; robust alternative. If a setting doesn't exist at run-time, the `set!' call
;; is ignored. It also benefits from byte-compilation.
(defvar doom-settings nil)
(defmacro def-setting! (keyword arglist &optional docstring &rest forms)