fix(el-patch): move config out of block tangled to packages

This commit is contained in:
Kiana Sheibani 2024-08-27 14:02:34 -04:00
parent f2b5942f7d
commit 1445e74457
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -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 #+begin_src emacs-lisp :tangle packages.el
(package! el-patch) (package! el-patch)
(after! el-patch
(setq el-patch-warn-on-eval-template nil))
#+end_src #+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 #+begin_src emacs-lisp
(defmacro defpatch! (feature type-name &rest args) (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 (after! ,feature
,template)) ,template))
template))) template)))
(after! el-patch
(setq el-patch-warn-on-eval-template nil))
#+end_src #+end_src
** Automated Nix Builds ** Automated Nix Builds