aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-07-26 21:25:57 -0700
committerGravatar Tom Willemse2021-07-26 21:27:15 -0700
commit8d5b37a12da2deeb4e1682e564cd992fb67ef470 (patch)
tree31cf7495209bfdfc8fce3563911106d28f3d9a91
parent22373fab15bfda4190cda1e484e8b18c2250591c (diff)
downloademacs-config-8d5b37a12da2deeb4e1682e564cd992fb67ef470.tar.gz
emacs-config-8d5b37a12da2deeb4e1682e564cd992fb67ef470.zip
[oni-core] Add code to load all of the other configuration files
Well, all of those that I’ve updated to require loading.
-rw-r--r--oni-core.el24
1 files changed, 23 insertions, 1 deletions
diff --git a/oni-core.el b/oni-core.el
index 7ca442d..41227fe 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0724.003354
+;; Version: 2021.0726.212703
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard)
;; This program is free software; you can redistribute it and/or modify
@@ -250,5 +250,27 @@ _s_: String list"
(setq-default buffer-file-coding-system 'utf-8-unix))
+;; Set up autoloads for all of my configuration files so that when they get
+;; installed they get loaded automatically, but don’t require them to be
+;; installed.
+
+(with-eval-after-load 'alert (require 'oni-alert))
+(with-eval-after-load 'bats (require 'oni-bats))
+(with-eval-after-load 'bookmark (require 'oni-bookmark))
+(with-eval-after-load 'cc-mode (require 'oni-c))
+(with-eval-after-load 'circe (require 'oni-circe))
+(with-eval-after-load 'elfeed (require 'oni-elfeed))
+(with-eval-after-load 'embrace (require 'oni-embrace))
+(with-eval-after-load 'flycheck (require 'oni-flycheck))
+(with-eval-after-load 'hydra (require 'oni-hydra))
+(with-eval-after-load 'lsp (require 'oni-lsp))
+(with-eval-after-load 'lui (require 'oni-lui))
+(with-eval-after-load 'org (require 'oni-org))
+(with-eval-after-load 'org-roam (require 'oni-org-roam))
+(with-eval-after-load 'sh (require 'oni-sh))
+(with-eval-after-load 'smartparens (require 'oni-smartparens))
+(with-eval-after-load 'vterm (require 'oni-vterm))
+(with-eval-after-load 'yasnippet (require 'oni-yasnippet))
+
(provide 'oni-core)
;;; oni-core.el ends here