![]() ![]() ")) ( t (configuration-layer//load) ( if (spacemacs/emacs-with-pdumper-set-p) ( progn (configuration-layer/message ( concat "Layer list has not changed since last time. ![]() ")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load)) (( and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. ") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) ( if (spacemacs/emacs-with-pdumper-set-p) ( progn (configuration-layer/message ( concat "-force-dump passed on the command line or configu. ( cond (changed-since-last-dump-p (configuration-layer//load) ( if (spacemacs/emacs-with-pdumper-set-p) ( progn (configuration-layer/message "Layer list has changed since last dump. ( and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) ( and dotspacemacs-enable-emacs-pdumper ( file-exists-p ( locate-file ( or dotspacemacs-emacs-pdumper-executable-file "emacs ") exec-path exec-suffixes 'file-executable-p)) ( not (spacemacs/emacs-with-native-compilation-enabled-p))) ( not (spacemacs/emacs-with-native-compilation-enabled-p)) Spacemacs/emacs-with-native-compilation-enabled-p() ( and ( featurep 'native-compile) ( fboundp 'native-comp-available-p) (native-comp-available-p) ( not ( eql native-comp-speed -1))) It may be possible to locate and preemptively load a byte–compiled or native–compiled form of comp.el, whenever dotspacemacs-enable-emacs-pdumper is non–nil, to implement the fail–safe condition check.ĭebugger entered-Lisp error: (void-variable native-comp-speed) This may cause confusion for other users and lead to more open issues related to native compilation and the portable dumper. When the error was produced, I instinctively ran describe-variable, which would trigger automatic loading and then define the variable. I suspect that /usr/share/emacs/28.1/lisp/emacs-lisp/comp.elc is not being loaded until later in the initialization process than when dotspacemacs-enable-emacs-pdumper' value is checked. To disable this feature, change the variable help-enable-completion-autoload to nil. It is stated in § 27.8 Libraries of Lisp Code for Emacs of the Emacs Manual,Īutomatic loading also occurs when completing names for describe-variable and describe-function, based on the prefix being completed. Refactor the spacemacs/emacs-with-native-compilation-enabled-p predicate in core-dumper.el to be more fail–safe Backgrounder Loading of native–compiled and byte–compiled Emacs Lisp code The built–in native-comp-speed customization variable should be defined (and set, when the variable is unbound) the conditional check fails because the symbol remains unbound, causing the error. Native-comp-speed is a customization variable defined by the built–in comp.el: "Return non-nil if native compilation is enabled. ( defun spacemacs/emacs-with-native-compilation-enabled-p () ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |