/elisp-config

Primary LanguageEmacs LispApache License 2.0Apache-2.0

elisp-config

config is subset of leaf.

Sample repository for leafのつくりかた.

Usage

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)))