summarylogtreecommitdiffstats
path: root/site-list-aot.md
blob: 10cedd1db5e26965e302419aec6e528707f20c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ON-DEMAND COMPILATION OF SITE-LISP AND LOCAL PACKAGES

To compile all site-lisp on demand (repos/AUR packages, ELPA, MELPA,
 whatever), add

    (setq native-comp-deferred-compilation t)

to your `.emacs` file.

Or search the option in the editor's GUI configuration, set it
to true and save your `.emacs` file to add it to the file's
`custom-set-variables` array automatically.

As emacs-git changes its version everytime you compile a new
binary, new eln files are generated for that particular binary
and old versions will accumulate over time. To keep the eln-cache
tidy, add this to your `.emacs` file:

    (setq native-compile-prune-cache t)