From 3247273c696a36b86b073d3c5ed7740f50e13aa9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 16 Nov 2021 20:28:56 -0800 Subject: [PATCH] =?UTF-8?q?[oni-core]=20Don't=20fail=20when=20either=20?= =?UTF-8?q?=E2=80=98oni-c=E2=80=99=20or=20=E2=80=98oni-cpp=E2=80=99=20does?= =?UTF-8?q?n't=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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))