mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
doc: Explain Emacs native-compilation.
* doc/guix.texi ("Application Setup")["Emacs Packages"]: Add a note explaining that Emacs can compile packages to native code now. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
18f95f9335
commit
4cb5144df0
1 changed files with 13 additions and 0 deletions
|
@ -2096,6 +2096,19 @@ want to avoid auto-loading the Emacs packages installed with Guix, you
|
||||||
can do so by running Emacs with the @option{--no-site-file} option
|
can do so by running Emacs with the @option{--no-site-file} option
|
||||||
(@pxref{Init File,,, emacs, The GNU Emacs Manual}).
|
(@pxref{Init File,,, emacs, The GNU Emacs Manual}).
|
||||||
|
|
||||||
|
@quotation Note
|
||||||
|
Emacs can now compile packages natively. Under the default
|
||||||
|
configuration, this means that Emacs packages will now be
|
||||||
|
just-in-time (JIT) compiled as you use them, and the results
|
||||||
|
stored in a subdirectory of your @code{user-emacs-directory}.
|
||||||
|
|
||||||
|
Furthermore, the build system for Emacs packages transparently
|
||||||
|
supports native compilation, but note, that
|
||||||
|
@code{emacs-minimal}---the default Emacs for building
|
||||||
|
packages---has been configured without native compilation.
|
||||||
|
To natively compile your emacs packages ahead of time, use a
|
||||||
|
transformation like @option{--with-input=emacs-minimal=emacs}.
|
||||||
|
@end quotation
|
||||||
|
|
||||||
@node Upgrading Guix
|
@node Upgrading Guix
|
||||||
@section Upgrading Guix
|
@section Upgrading Guix
|
||||||
|
|
Loading…
Reference in a new issue