1
0
Fork 0

[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.
This commit is contained in:
Tom Willemse 2021-11-16 20:28:56 -08:00
parent b3965ea473
commit 3247273c69

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; 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 'bats (require 'oni-bats))
(with-eval-after-load 'bookmark (require 'oni-bookmark)) (with-eval-after-load 'bookmark (require 'oni-bookmark))
(with-eval-after-load 'browse-url (require 'oni-browse-url)) (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-c nil t))
(with-eval-after-load 'cc-mode (require 'oni-cpp)) (with-eval-after-load 'cc-mode (require 'oni-cpp nil t))
(with-eval-after-load 'cider (require 'oni-clojure)) (with-eval-after-load 'cider (require 'oni-clojure))
(with-eval-after-load 'circe (require 'oni-circe)) (with-eval-after-load 'circe (require 'oni-circe))
(with-eval-after-load 'clojure-mode (require 'oni-clojure)) (with-eval-after-load 'clojure-mode (require 'oni-clojure))