config
is subset of leaf.
Sample repository for leafのつくりかた.
M-x eval-buffer
in config.el
.
Then, you can use config
macro.
(ppp-macroexpand
(config test
:config (setq test-config 1)
:preface (setq test-preface 1)
:when (executable-find "rg")
:require t))
;;=> (prog1 'test
;; (setq test-preface 1)
;; (when (executable-find "rg")
;; (require 'test)
;; (setq test-config 1)))