emacs-devel
[Top][All Lists]
Advanced

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

Re: package.el dependencies


From: Thierry Volpiatto
Subject: Re: package.el dependencies
Date: Wed, 28 Jan 2015 12:58:19 +0100

Artur Malabarba <address@hidden> writes:

> Hi,
> I'll read the rest later, but I just wanted to say one thing before leaving 
> the house.
>
> On 28 Jan 2015 05:30, "Thierry Volpiatto" <address@hidden> wrote:
>> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
>> index 88fc950..df3a108 100644
>> --- a/lisp/emacs-lisp/package.el
>> +++ b/lisp/emacs-lisp/package.el
>> @@ -333,6 +333,15 @@ contents of the archive."
>>  :group 'package
>>  :version "24.4")
>>
>> +(defcustom packages-installed-directly nil
>> + "Store here packages installed explicitely by user.
>> +This variable will be feeded automaticaly by emacs,
>> +so you should not modify it yourself.
>
> Then don't make it a defcustom :-). `customize-save-variable' will
> work on any variable (even unbound ones), so a defvar is enough here.

In fact the variable stored will not be loaded at initialization if it
is not a defcustom, so I leave it like this for now as it is working
fine like this.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 



reply via email to

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