summaryrefslogtreecommitdiff
path: root/guides
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-03-26 20:12:21 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-03-26 20:12:21 +0200
commit7d580cd6bf25f1f81761b099aa0fc8f5669f7f49 (patch)
treed675b4116d1c2c69c5ac207a07458385c11626ef /guides
parent04c7e6c6f51035d1d208f89a0d94d24fd71540d0 (diff)
downloadmemory-leaks-7d580cd6bf25f1f81761b099aa0fc8f5669f7f49.tar.xz
Note down a couple of itches with forge
Diffstat (limited to 'guides')
-rw-r--r--guides/emacs/development.org29
1 files changed, 29 insertions, 0 deletions
diff --git a/guides/emacs/development.org b/guides/emacs/development.org
index eeb9ec5..143f102 100644
--- a/guides/emacs/development.org
+++ b/guides/emacs/development.org
@@ -63,3 +63,32 @@ a symbol -- Selects the test that the symbol names, signals an
and returns non-nil if it is selected.
#+end_quote
+* Third-party packages
+** forge
+*** build
+Use =config.mk= to set =LOAD_PATH=:
+#+begin_src makefile
+find-lib = $(dir $(shell emacs -Q -batch \
+ -eval "(require 'find-func)" \
+ -eval "(package-initialize)" \
+ -eval "(require '$(1))" \
+ -eval "(princ (find-library-name \"$(1)\"))"))
+
+sources = ~/src/emacs/magit/lisp
+
+elpa = \
+ closql \
+ compat \
+ dash \
+ emacsql \
+ ghub \
+ markdown-mode \
+ transient \
+ treepy \
+ with-editor \
+ yaml
+elpa_dirs = $(foreach d,$(elpa),$(call find-lib,$(d)))
+
+LOAD_PATH = $(addprefix -L ,$(elpa_dirs) $(sources))
+#+end_src
+