aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMohsin Kaleem <mohkale@kisara.moe>2023-03-12 10:22:36 +0000
committerGitHub <noreply@github.com>2023-03-12 10:22:36 +0000
commit3e93610387684567ee133e3e62088a3a1a142120 (patch)
treee01c42264a7098691937bec5f699666f92d89cd7 /Makefile
parent60f897a3a08533688bb476ecefe87e16d7a2e24f (diff)
Separate formatters definitions from core apheleia library (#161)
Moves the bulk of apheleia.el into a new apheleia-core.el file and move formatter definitions and mode-associations into a new apheleia-formatters.el file. The end user experience should be unchanged. Loading `apheleia.el` will still load everything load everything, just like it used to.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b5aea8f..4d30f07 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,8 @@ checkindent: ## Ensure that indentation is correct
emacs -Q --batch \
-l scripts/apheleia-indent.el \
--eval "(setq inhibit-message t)" \
+ --eval "(setq load-path \
+ (append (list default-directory) load-path))" \
--eval "(load (expand-file-name \"apheleia.el\") nil t)" \
--eval "(find-file \"$$file\")" \
--eval "(indent-region (point-min) (point-max))" \