From 3247273c696a36b86b073d3c5ed7740f50e13aa9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 16 Nov 2021 20:28:56 -0800 Subject: [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. --- oni-core.el | 6 +++--- 1 file 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 ;; 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)) -- cgit v1.3-2-g0d8e