mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(lib): doom-compile-function throwing native-compiler-error
This commit is contained in:
@ -601,10 +601,11 @@ Adapted from 'https://www.reddit.com/r/emacs/comments/d7x7x8/finally_fixing_inde
|
||||
(desired-indent)
|
||||
(normal-indent))))))
|
||||
|
||||
;; HACK: These functions are called often and as part of performance-sensitive
|
||||
;; processes, so we compile them if the file isn't already compiled.
|
||||
(mapc #'doom-compile-function '(+emacs-lisp-highlight-vars-and-faces
|
||||
+emacs-lisp-truncate-pin
|
||||
+emacs-lisp--calculate-lisp-indent-a))
|
||||
;; HACK: Quite a few functions here are called often, and so are especially
|
||||
;; performance sensitive, so we compile this file on-demand, at least, until
|
||||
;; Doom adds a formal compile step to 'doom sync'.
|
||||
(doom-compile-functions #'+emacs-lisp-highlight-vars-and-faces
|
||||
#'+emacs-lisp-truncate-pin
|
||||
#'+emacs-lisp--calculate-lisp-indent-a)
|
||||
|
||||
;;; autoload.el ends here
|
||||
|
Reference in New Issue
Block a user