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:
parent
6eb95c98ea
commit
9d445c8a1f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ library/userland functions"
|
||||||
;; `+emacs-lisp-highlight-vars-and-faces' is a potentially expensive function
|
;; `+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
|
;; and should be byte-compiled, no matter what, to ensure it runs as fast as
|
||||||
;; possible:
|
;; possible:
|
||||||
(eval-when-compile
|
(when (not (byte-code-function-p (symbol-function '+emacs-lisp-highlight-vars-and-faces)))
|
||||||
(with-no-warnings
|
(with-no-warnings
|
||||||
(byte-compile #'+emacs-lisp-highlight-vars-and-faces)))
|
(byte-compile #'+emacs-lisp-highlight-vars-and-faces)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue