From 8d5b37a12da2deeb4e1682e564cd992fb67ef470 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 26 Jul 2021 21:25:57 -0700 Subject: [PATCH] [oni-core] Add code to load all of the other configuration files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Well, all of those that I’ve updated to require loading. --- oni-core.el | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 ;; 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