From 4887f44d025d8d8d966710c1d5f07a1d77abfc9e Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 22 Apr 2015 16:38:20 -0500 Subject: 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. --- pkgs/build-support/emacs/wrapper.nix | 2 -- 1 file changed, 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" -- cgit 1.4.1