diff options
author | Tom Willemse | 2021-11-16 20:28:56 -0800 |
---|---|---|
committer | Tom Willemse | 2021-11-16 20:28:56 -0800 |
commit | 3247273c696a36b86b073d3c5ed7740f50e13aa9 (patch) | |
tree | 0f55976a05296fdf7973d41c84ecf721a8c1daec | |
parent | b3965ea473d24b868e0223230f49af00b42e8fcf (diff) | |
download | emacs-config-3247273c696a36b86b073d3c5ed7740f50e13aa9.tar.gz emacs-config-3247273c696a36b86b073d3c5ed7740f50e13aa9.zip |
[oni-core] Don't fail when either ‘oni-c’ or ‘oni-cpp’ doesn't load
Either or neither can be installed when ‘cc-mode’ is loaded, but it shouldn't be
an error when one isn't.
-rw-r--r-- | oni-core.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oni-core.el b/oni-core.el index 34ce8e2..f69b73b 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.1110.213201 +;; Version: 2021.1116.202845 ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard mixed-pitch) ;; This program is free software; you can redistribute it and/or modify @@ -253,8 +253,8 @@ _s_: String list" (with-eval-after-load 'bats (require 'oni-bats)) (with-eval-after-load 'bookmark (require 'oni-bookmark)) (with-eval-after-load 'browse-url (require 'oni-browse-url)) -(with-eval-after-load 'cc-mode (require 'oni-c)) -(with-eval-after-load 'cc-mode (require 'oni-cpp)) +(with-eval-after-load 'cc-mode (require 'oni-c nil t)) +(with-eval-after-load 'cc-mode (require 'oni-cpp nil t)) (with-eval-after-load 'cider (require 'oni-clojure)) (with-eval-after-load 'circe (require 'oni-circe)) (with-eval-after-load 'clojure-mode (require 'oni-clojure)) |