emacsWithPackages: don't call package-initialize
Emacs will call package-initialize itself, if required, or the user will
call it in their initialization file. There is no reason to call it in
the wrapper and doing so only increases start-up time.
commit4887f44d025d8d8d966710c1d5f07a1d77abfc9e
authorThomas Tuegel <ttuegel@gmail.com>
dateWed 22 Apr 2015, 16:38 (12 years ago)
parent019b187
pkgs/build-support/emacs/wrapper.nix−2
@@ -57,8 +57,6 @@ stdenv.mkDerivation {
5757 addToEmacsPaths $pkg
5858 done
5959
60− echo "(package-initialize)" >>"$siteStart"
61−
6260 # Byte-compiling improves start-up time only slightly, but costs nothing.
6361 emacs --batch -f batch-byte-compile "$siteStart"
6462