1
0
Fork 0

oni-core: Bring back requires

But this time don't throw an error if the settings can't be loaded.
This commit is contained in:
Tom Willemse 2025-02-13 23:21:59 -08:00
parent 81386a5427
commit ab7f5336e6

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2025.0211.211954
;; Version: 2025.0213.232049
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
;; This program is free software; you can redistribute it and/or modify
@ -251,6 +251,81 @@ _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 dont require them to be
;; installed.
(with-eval-after-load 'ahk-mode (require 'oni-autohotkey nil t))
(with-eval-after-load 'alert (require 'oni-alert nil t))
(with-eval-after-load 'bat-mode (require 'oni-bat nil t))
(with-eval-after-load 'bats (require 'oni-bats nil t))
(with-eval-after-load 'bookmark (require 'oni-bookmark nil t))
(with-eval-after-load 'browse-url (require 'oni-browse-url nil t))
(with-eval-after-load 'cc-mode (require 'oni-c nil t nil t))
(with-eval-after-load 'cc-mode (require 'oni-cpp nil t nil t))
(with-eval-after-load 'cc-mode (require 'oni-java nil t nil t))
(with-eval-after-load 'cider (require 'oni-clojure nil t))
(with-eval-after-load 'circe (require 'oni-circe nil t))
(with-eval-after-load 'clojure-mode (require 'oni-clojure nil t))
(with-eval-after-load 'cmake-mode (require 'oni-cmake nil t))
(with-eval-after-load 'company (require 'oni-company nil t))
(with-eval-after-load 'compile (require 'oni-compilation nil t))
(with-eval-after-load 'conf-mode (require 'oni-conf nil t))
(with-eval-after-load 'counsel (require 'oni-counsel nil t))
(with-eval-after-load 'csharp-mode (require 'oni-csharp nil t))
(with-eval-after-load 'css-mode (require 'oni-css nil t))
(with-eval-after-load 'diff-hl (require 'oni-diff-hl nil t))
(with-eval-after-load 'dired (require 'oni-dired nil t))
(with-eval-after-load 'ediff (require 'oni-ediff nil t))
(with-eval-after-load 'elfeed (require 'oni-elfeed nil t))
(with-eval-after-load 'elisp-mode (require 'oni-elisp nil t))
(with-eval-after-load 'elm-mode (require 'oni-elm nil t))
(with-eval-after-load 'embrace (require 'oni-embrace nil t))
(with-eval-after-load 'emms (require 'oni-emms nil t))
(with-eval-after-load 'eshell (require 'oni-eshell nil t))
(with-eval-after-load 'fish-mode (require 'oni-fish nil t))
(with-eval-after-load 'flycheck (require 'oni-flycheck nil t))
(with-eval-after-load 'git-commit (require 'oni-git-commit nil t))
(with-eval-after-load 'gnus (require 'oni-gnus nil t))
(with-eval-after-load 'grep (require 'oni-grep nil t))
(with-eval-after-load 'groovy-mode (require 'oni-groovy nil t))
(with-eval-after-load 'haskell-mode (require 'oni-haskell nil t))
(with-eval-after-load 'highlight-indent-guides (require 'oni-highlight-indent-guides nil t))
(with-eval-after-load 'hydra (require 'oni-hydra nil t))
(with-eval-after-load 'ielm (require 'oni-elisp nil t))
;; (with-eval-after-load 'ivy (require 'oni-ivy))
(with-eval-after-load 'jabber (require 'oni-jabber nil t))
(with-eval-after-load 'js2-mode (require 'oni-js nil t))
(with-eval-after-load 'json-mode (require 'oni-json nil t))
(with-eval-after-load 'lisp-mode (require 'oni-common-lisp nil t))
(with-eval-after-load 'log-edit (require 'oni-log-edit nil t))
(with-eval-after-load 'lsp (require 'oni-lsp nil t))
(with-eval-after-load 'lua-mode (require 'oni-lua nil t))
(with-eval-after-load 'lui (require 'oni-lui nil t))
(with-eval-after-load 'magit (require 'oni-magit nil t))
(with-eval-after-load 'make-mode (require 'oni-makefile nil t))
(with-eval-after-load 'notmuch (require 'oni-notmuch nil t))
(with-eval-after-load 'nov (require 'oni-epub nil t))
(with-eval-after-load 'org (require 'oni-org nil t))
(with-eval-after-load 'org-roam (require 'oni-org-roam nil t))
(with-eval-after-load 'package (require 'oni-package nil t))
(with-eval-after-load 'package-x (require 'oni-package nil t))
(with-eval-after-load 'paredit (require 'oni-paredit nil t))
(with-eval-after-load 'php-mode (require 'oni-php nil t))
(with-eval-after-load 'prescient (require 'oni-prescient nil t))
(with-eval-after-load 'projectile (require 'oni-projectile nil t))
(with-eval-after-load 'python (require 'oni-python nil t))
(with-eval-after-load 'ruby-mode (require 'oni-ruby nil t))
(with-eval-after-load 'rust-mode (require 'oni-rust nil t))
(with-eval-after-load 'scheme (require 'oni-scheme nil t))
(with-eval-after-load 'sgml-mode (require 'oni-html nil t))
(with-eval-after-load 'sh (require 'oni-sh nil t))
(with-eval-after-load 'shr (require 'oni-shr nil t))
(with-eval-after-load 'smartparens (require 'oni-smartparens nil t))
(with-eval-after-load 'sort (require 'oni-sort nil t))
(with-eval-after-load 'tramp (require 'oni-tramp nil t))
(with-eval-after-load 'web-mode (require 'oni-web nil t))
(with-eval-after-load 'yasnippet
(require 'oni-yasnippet)
(when (and (package-installed-p 'oni-yasnippet)