3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Thomas Tuegel 2015-04-22 16:38:20 -05:00
parent 019b18722d
commit 4887f44d02

View file

@ -57,8 +57,6 @@ stdenv.mkDerivation {
addToEmacsPaths $pkg
done
echo "(package-initialize)" >>"$siteStart"
# Byte-compiling improves start-up time only slightly, but costs nothing.
emacs --batch -f batch-byte-compile "$siteStart"