fix(el-patch): move config out of block tangled to packages
This commit is contained in:
parent
f2b5942f7d
commit
1445e74457
|
@ -775,12 +775,9 @@ Emacs's runtime and configuration systems are designed to be as flexible as poss
|
|||
|
||||
#+begin_src emacs-lisp :tangle packages.el
|
||||
(package! el-patch)
|
||||
|
||||
(after! el-patch
|
||||
(setq el-patch-warn-on-eval-template nil))
|
||||
#+end_src
|
||||
|
||||
The package allows you to define /patches/ which modify the definitions of functions in systematic ways. The suite of tools provided by the package is easily comprehensive enough for my needs, but we can make the API a bit nicer with some macros:
|
||||
The package allows you to define /patches/ which modify the definitions of functions in systematic ways. The suite of tools provided by the package is easily comprehensive enough for my needs, but we can make the API a bit nicer with some macros and configure options:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defmacro defpatch! (feature type-name &rest args)
|
||||
|
@ -805,6 +802,9 @@ The package allows you to define /patches/ which modify the definitions of funct
|
|||
(after! ,feature
|
||||
,template))
|
||||
template)))
|
||||
|
||||
(after! el-patch
|
||||
(setq el-patch-warn-on-eval-template nil))
|
||||
#+end_src
|
||||
|
||||
** Automated Nix Builds
|
||||
|
|
Loading…
Reference in a new issue