home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 14cf8c87ae197cc7bcc2f7faee0e88bbc60d012d
parent 80bd0cee7ec1c12df8bbb956b4439a1f7b08e652
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 19 Feb 2020 17:29:16 +0100

Add a usage example on `use-package-list` 💄

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Memacs.org | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/emacs.org b/emacs.org @@ -34,13 +34,14 @@ ** Required lisp libraries :PROPERTIES: +:header-args: :tangle ~/.emacs.d/lisp/use-package-list.el :CUSTOM_ID: h:316fd3ee-ab99-4f01-ba5a-1a91c54bc334 :END: We need a way to list packages used in the configuration using ~use-package~. This is coming straight from [[https://matthewbauer.us/bauer/][Matthew Bauer's bauer]]. -#+begin_src emacs-lisp :tangle ~/.emacs.d/lisp/use-package-list.el +#+begin_src emacs-lisp ;;; use-package-list.el --- List use-package declarations in config file ;; Copyright (C) 2017 Matthew Bauer @@ -106,3 +107,12 @@ (provide 'use-package-list) ;;; use-package-list.el ends here #+end_src + +The idea is to run some like the following. + +#+begin_src bash :tangle no +emacs --batch --quick \ + -L /nix/store/acm9rskhx237xb16zdy7vx6r1m5n8q58-emacs-packages-deps/share/emacs/site-lisp/elpa/use-package-20191126.2034/use-package-* \ + -l /home/vincent/.emacs.d/lisp/use-package-list.el \ + --eval "(use-package-list \"/home/vincent/.emacs.d/init.el\")" +#+end_src