Allow forced require!
This commit is contained in:
parent
1677844fd6
commit
188baf8626
2 changed files with 3 additions and 2 deletions
|
@ -331,7 +331,8 @@ throw an error if the file doesn't exist."
|
||||||
"Like `require', but for doom modules. Will load a module's config.el file if
|
"Like `require', but for doom modules. Will load a module's config.el file if
|
||||||
it hasn't already, and if it exists."
|
it hasn't already, and if it exists."
|
||||||
(when (or (not noninteractive)
|
(when (or (not noninteractive)
|
||||||
(bound-and-true-p byte-compile-current-file))
|
(bound-and-true-p byte-compile-current-file)
|
||||||
|
reload-p)
|
||||||
(let ((loaded-p (doom-module-loaded-p module submodule)))
|
(let ((loaded-p (doom-module-loaded-p module submodule)))
|
||||||
(when (or reload-p (not loaded-p))
|
(when (or reload-p (not loaded-p))
|
||||||
(unless loaded-p
|
(unless loaded-p
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
;;
|
;;
|
||||||
(def-bootstrap! cc
|
(def-bootstrap! cc
|
||||||
;; NOTE Untested
|
;; NOTE Untested
|
||||||
(require! :lang cc)
|
(require! :lang cc t)
|
||||||
(require 'irony)
|
(require 'irony)
|
||||||
(unless (expand-file-name "bin/irony-server" irony-server-install-prefix)
|
(unless (expand-file-name "bin/irony-server" irony-server-install-prefix)
|
||||||
(pcase (doom-system-os)
|
(pcase (doom-system-os)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue