diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-03-15 21:44:05 +0000 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-03-16 23:08:34 +0000 |
commit | 159f61baa9e374cfd17acf1a45c0d553b57b7ac9 (patch) | |
tree | 6832e7e815fb71c2f95e69af4056122ed1bbd1d8 /lisp/emacs-lisp | |
parent | ea8864fb672a7ff2d1da1b91885239f60e16b359 (diff) | |
download | emacs-159f61baa9e374cfd17acf1a45c0d553b57b7ac9.tar.gz emacs-159f61baa9e374cfd17acf1a45c0d553b57b7ac9.tar.bz2 emacs-159f61baa9e374cfd17acf1a45c0d553b57b7ac9.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index c00a68307b0..0728c4f0a81 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -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. |