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 #+NAME: emacs-native-comp-package
#+BEGIN_SRC nix #+BEGIN_SRC nix
pkgs.emacsGcc;
pkgs.emacsNativeComp;
#+END_SRC #+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. 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 let
myEmacs = pkgs.emacsWithPackagesFromUsePackage { myEmacs = pkgs.emacsWithPackagesFromUsePackage {
config = ../README.org; config = ../README.org;
package = pkgs.emacsGcc;
package = pkgs.emacsNativeComp;
alwaysEnsure = true; alwaysEnsure = true;
alwaysTangle = true; alwaysTangle = true;
extraEmacsPackages = epkgs: [ extraEmacsPackages = epkgs: [

Loading…
Cancel
Save