Subject: bug#21423: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil)

From: Phil Sainty <[email-masked]>
Date: Sun, 06 Sep 2015 23:10:25 +1200

I managed to configure an incorrect email address for myself.

I've attached the corrected patch to this reply.
>From 2931c2e427a83d6c5ddcc1853626e4f11f25b6bd Mon Sep 17 00:00:00 2001
From: Phil Sainty <[email-masked]>
Date: Sun, 6 Sep 2015 23:05:34 +1200
Subject: [PATCH] Disable package-enable-at-startup when forcing
 package-initialize

---
 lisp/emacs-lisp/package.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index d4a2f02..baa4ab6 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1856,6 +1856,7 @@ add a call to it along with some explanatory comments."
                ";; installed packages.  Don't delete this line.  If you don't want it,\n"
                ";; just comment it out by adding a semicolon to the start of the line.\n"
                ";; You may delete these explanatory comments.\n"
+               "(setq package-enable-at-startup nil)\n")
                "(package-initialize)\n")
               (unless (looking-at-p "$")
                 (insert "\n"))
-- 
2.1.0