GNU bug report logs - #25819
25.1; Added by Package.el. Added by Package.el. Added by Package.el. Added by Package.el.

Previous Next

Package: emacs;

Reported by: frederik <at> ofb.net

Date: Mon, 20 Feb 2017 20:16:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 24643

Found in version 25.1

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: frederik <at> ofb.net
Cc: 25819 <at> debbugs.gnu.org
Subject: bug#25819: 25.1; Added by Package.el. Added by Package.el. Added by Package.el. Added by Package.el.
Date: Tue, 21 Feb 2017 17:19:14 -0500
frederik <at> ofb.net 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?




This bug report was last modified 8 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.