mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
make compile: fix error in emacs-lisp
``` In toplevel form: ../modules/lang/emacs-lisp/autoload.el:71:21:Error: Wrong type argument: listp, "~/.emacs.d/modules/lang/emacs-lisp/autoload" ✕ Failed to compile modules/lang/emacs-lisp/autoload.el ``` This apparently attempts to get compiled multiple times, avoid that by attempting to compile only if it is not compiled already.
This commit is contained in:
@ -66,7 +66,7 @@ library/userland functions"
|
||||
;; `+emacs-lisp-highlight-vars-and-faces' is a potentially expensive function
|
||||
;; and should be byte-compiled, no matter what, to ensure it runs as fast as
|
||||
;; possible:
|
||||
(eval-when-compile
|
||||
(when (not (byte-code-function-p (symbol-function '+emacs-lisp-highlight-vars-and-faces)))
|
||||
(with-no-warnings
|
||||
(byte-compile #'+emacs-lisp-highlight-vars-and-faces)))
|
||||
|
||||
|
Reference in New Issue
Block a user