about summary refs log tree commit diff
path: root/pkgs/build-support/emacs
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-04-22 16:38:20 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-04-23 08:08:22 -0500
commit4887f44d025d8d8d966710c1d5f07a1d77abfc9e (patch)
treef4f410c9bef126fd76fdf660c89467f3eb45f935 /pkgs/build-support/emacs
parent019b18722d1c7f2bcdb296c907a5a8d2ee9c1401 (diff)
downloadnixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.tar
nixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.tar.gz
nixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.tar.bz2
nixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.tar.lz
nixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.tar.xz
nixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.tar.zst
nixlib-4887f44d025d8d8d966710c1d5f07a1d77abfc9e.zip
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.
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r--pkgs/build-support/emacs/wrapper.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix
index 99f732be1557..678ba4502112 100644
--- a/pkgs/build-support/emacs/wrapper.nix
+++ b/pkgs/build-support/emacs/wrapper.nix
@@ -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"