Subject: bug#25819: 25.1; Added by Package.el. Added by Package.el. Added by Package.el. Added by Package.el.

From: Glenn Morris <[email-masked]>
Date: Tue, 21 Feb 2017 17:19:14 -0500

[email-masked] wrote:

> In my ~/.emacs file, I get repeating lines like this:
[...]
> (package-initialize)
> (package-initialize)
> (package-initialize)

The function package--ensure-init-file adds this line, but it takes care
to only do so if it's not already there. So it's hard to see how you can
end up with multiple copies. Can you find a reproducible sequence that
causes an extra copy to be added; or can you edebug
package--ensure-init-file to see why it adds multiple copies?