Trigger native compilation when loading bytecode

Introduce a first mechanism to trigger compilation when lex elc files
are loaded.  This is off by default and has to be better tested.
This commit is contained in:
Andrea Corallo 2020-03-15 21:44:05 +00:00
parent ea8864fb67
commit 159f61baa9
6 changed files with 56 additions and 2 deletions

View file

@ -40,6 +40,11 @@
"Emacs Lisp native compiler."
:group 'lisp)
(defcustom comp-deferred-compilation nil
"If t compile asyncronously all lexically bound .elc files being loaded."
:type 'boolean
:group 'comp)
(defcustom comp-speed 2
"Compiler optimization level. From 0 to 3.
- 0 no optimizations are performed, compile time is favored.