bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65475: 29.1; package-selected-packages variable is not updated when


From: Philip Kaludercic
Subject: bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted
Date: Wed, 13 Sep 2023 10:01:15 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> +    (let ((package-alist                 ;see bug#65475
>>             (let ((pkgs (assq name package-alist)))
> [...]
>> +             (set-default-toplevel-value 'package-alist package-alist)
> [...]
>
> Eww!!
>
> If we really can't find a better option, we need to add a bunch of
> comments explaining why we ended up with such a hack.

It seems that it is only necessary to bind `package-alist' during the
invocation of `package--used-elsewhere-p', so this is a more
conservative proposal:

Attachment: 0001-Handle-edge-case-when-deleting-the-last-package.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]