diff options
-rw-r--r-- | .gitmodules | 12 | ||||
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | init.el | 19 | ||||
m--------- | lib/auto-compile | 0 | ||||
m--------- | lib/borg | 0 | ||||
m--------- | lib/packed | 0 | ||||
m--------- | lib/use-package | 0 |
7 files changed, 40 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..61b63fa --- /dev/null +++ b/.gitmodules @@ -0,0 +1,12 @@ +[submodule "auto-compile"] + path = lib/auto-compile + url = https://github.com/emacscollective/auto-compile.git +[submodule "borg"] + path = lib/borg + url = https://github.com/emacscollective/borg.git +[submodule "packed"] + path = lib/packed + url = https://github.com/emacscollective/packed.git +[submodule "use-package"] + path = lib/use-package + url = https://github.com/jwiegley/use-package.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c36f3ba --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +-include lib/borg/borg.mk + +bootstrap-borg: + @git submodule--helper clone --name borg --path lib/borg \ + --url git@github.com:emacscollective/borg.git + @cd lib/borg; git symbolic-ref HEAD refs/heads/master + @cd lib/borg; git reset --hard HEAD + +i: build-init @@ -112,6 +112,14 @@ ;; for emacs 27 and later, we use early-init.el. see ;; https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b +(progn ; `borg' + (add-to-list 'load-path + (expand-file-name "lib/borg" user-emacs-directory)) + (require 'borg) + (borg-initialize) + (setq borg-rewrite-urls-alist + '(("git@github.com:" . "https://github.com/") + ("git@gitlab.com:" . "https://gitlab.com/")))) ;; use-package (if nil ; set to t when need to debug init @@ -140,6 +148,17 @@ (defalias 'b/etc 'no-littering-expand-etc-file-name) (defalias 'b/var 'no-littering-expand-var-file-name)) +(use-package auto-compile + :demand + :config + (auto-compile-on-load-mode) + (auto-compile-on-save-mode) + (setq auto-compile-display-buffer nil) + (setq auto-compile-mode-line-counter t) + (setq auto-compile-source-recreate-deletes-dest t) + (setq auto-compile-toggle-deletes-nonlib-dest t) + (setq auto-compile-update-autoloads t)) + ;; separate custom file (don't want it mixing with init.el) (use-package custom :no-require diff --git a/lib/auto-compile b/lib/auto-compile new file mode 160000 +Subproject 3e92c5b1a94b0cf43f2d624180a1cb01df92afd diff --git a/lib/borg b/lib/borg new file mode 160000 +Subproject 3cfb35f5c54a76f200272ed11b4a39f11a57552 diff --git a/lib/packed b/lib/packed new file mode 160000 +Subproject c41c3dfda86ae33832ffc146923e2a4675cbacf diff --git a/lib/use-package b/lib/use-package new file mode 160000 +Subproject c873d5529c9c80cb58222f22873a4f081c307cb |