Browse Source

Update emacs expression

main
parent
commit
d8891b43c2
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 2
      README.org
  2. 2
      modules/emacs.nix

2
README.org

@ -1207,7 +1207,7 @@ It's somtimes desirable to have customization that takes effect during Emacs sta
#+NAME: emacs-native-comp-package
#+BEGIN_SRC nix
pkgs.emacsGcc;
pkgs.emacsNativeComp;
#+END_SRC
Native Comp, also known as GccEmacs, refers to the ~--with-native-compilation~ configuration option when building [[https://gnu.org/software/emacs/][GNU/Emacs]]. It adds support for compiling [[https://www.gnu.org/software/emacs/manual/html_node/elisp/index.html][Emacs Lisp]] to native code using ~libgccjit~. All of the Emacs Lisp packages shipped with Emacs are native-compiled, providing a noticable performance iomprovement out-of-the-box.

2
modules/emacs.nix

@ -5,7 +5,7 @@
let
myEmacs = pkgs.emacsWithPackagesFromUsePackage {
config = ../README.org;
package = pkgs.emacsGcc;
package = pkgs.emacsNativeComp;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages = epkgs: [

Loading…
Cancel
Save