emacs-devel
[Top][All Lists]
Advanced

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

Re: package.el dependencies


From: Artur Malabarba
Subject: Re: package.el dependencies
Date: Tue, 3 Feb 2015 14:06:38 +0000

>> I was about to suggest the following.
>>
>> +    (package-delete (cadr (assq pkg package-alist)) 'force)
>> +    (package-install pkg selected)))
>
> At first I had the same idea, but after I thought it was calling two time
> custom-save-varaible for nothing (i.e one time to remove the package and
> on time to add it again), so I think it is better to just delete the
> package without removing it from the list.

Good point. I've applied your patch.

>> My suggestion would be to change the "installed" string (displayed on
>> the status column) to "dependency" for packages that are not in
>> `package-selected-packages'.
>
> Agree.

Done.



reply via email to

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