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

View File

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