Disable byte-compile-dynamic for autoloads files

Its deprecated and more trouble than its worth.
This commit is contained in:
Henrik Lissner 2020-04-17 14:56:21 -04:00
parent d21099cbd0
commit d3c2e4829b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -90,7 +90,6 @@ one wants that.")
(defun doom-cli--byte-compile-file (file) (defun doom-cli--byte-compile-file (file)
(condition-case-unless-debug e (condition-case-unless-debug e
(let ((byte-compile-warnings (if doom-debug-mode byte-compile-warnings)) (let ((byte-compile-warnings (if doom-debug-mode byte-compile-warnings))
(byte-compile-dynamic t)
(byte-compile-dynamic-docstrings t)) (byte-compile-dynamic-docstrings t))
(when (byte-compile-file file) (when (byte-compile-file file)
(unless doom-interactive-mode (unless doom-interactive-mode