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:
parent
019b18722d
commit
4887f44d02
@ -57,8 +57,6 @@ stdenv.mkDerivation {
|
|||||||
addToEmacsPaths $pkg
|
addToEmacsPaths $pkg
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "(package-initialize)" >>"$siteStart"
|
|
||||||
|
|
||||||
# Byte-compiling improves start-up time only slightly, but costs nothing.
|
# Byte-compiling improves start-up time only slightly, but costs nothing.
|
||||||
emacs --batch -f batch-byte-compile "$siteStart"
|
emacs --batch -f batch-byte-compile "$siteStart"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user