mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
Silence byte-compiler warnings from plugins
This commit is contained in:
@@ -186,10 +186,11 @@ FORCE-P is non-nil, do it anyway.
|
|||||||
(require 'package)
|
(require 'package)
|
||||||
(setq package-activated-list nil
|
(setq package-activated-list nil
|
||||||
package--initialized nil)
|
package--initialized nil)
|
||||||
(condition-case _ (package-initialize)
|
(let (byte-compile-warnings)
|
||||||
('error (package-refresh-contents)
|
(condition-case _ (package-initialize)
|
||||||
(setq doom--refreshed-p t)
|
('error (package-refresh-contents)
|
||||||
(package-initialize)))
|
(setq doom--refreshed-p t)
|
||||||
|
(package-initialize))))
|
||||||
;; Ensure core packages are installed.
|
;; Ensure core packages are installed.
|
||||||
(let ((core-packages (cl-remove-if #'package-installed-p doom-core-packages)))
|
(let ((core-packages (cl-remove-if #'package-installed-p doom-core-packages)))
|
||||||
(when core-packages
|
(when core-packages
|
||||||
@@ -269,7 +270,8 @@ them."
|
|||||||
(setq load-path doom-site-load-path)
|
(setq load-path doom-site-load-path)
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(setq package-activated-list nil)
|
(setq package-activated-list nil)
|
||||||
(package-initialize))
|
(let (byte-compile-warnings)
|
||||||
|
(package-initialize)))
|
||||||
|
|
||||||
;; `quelpa-cache'
|
;; `quelpa-cache'
|
||||||
(when (or force-p (not (bound-and-true-p quelpa-cache)))
|
(when (or force-p (not (bound-and-true-p quelpa-cache)))
|
||||||
|
Reference in New Issue
Block a user