mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Allow forced require!
This commit is contained in:
@ -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
|
||||
it hasn't already, and if it exists."
|
||||
(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)))
|
||||
(when (or reload-p (not loaded-p))
|
||||
(unless loaded-p
|
||||
|
@ -21,7 +21,7 @@
|
||||
;;
|
||||
(def-bootstrap! cc
|
||||
;; NOTE Untested
|
||||
(require! :lang cc)
|
||||
(require! :lang cc t)
|
||||
(require 'irony)
|
||||
(unless (expand-file-name "bin/irony-server" irony-server-install-prefix)
|
||||
(pcase (doom-system-os)
|
||||
|
Reference in New Issue
Block a user