emacs-devel
[Top][All Lists]
Advanced

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

Re: Deactivate a package without uninstalling it


From: Jambunathan K
Subject: Re: Deactivate a package without uninstalling it
Date: Fri, 08 Jul 2011 19:32:54 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Stefan Monnier <address@hidden> writes:

>>> How can I prevent Emacs from activating an ELPA package which is installed
>>> system-wide?
>>> E.g. how can I have the AUCTeX package installed but without it
>>> hijacking the default latex-mode?
>> The AUCTeX manual offers the following:
>
> Thanks, but I want a solution that works for any ELPA package.
> AUCTeX was just an example.

The variable down below seems to be a "whitelist". May be you are
looking for a "blacklist" variant of this variable something like
package-dont-load-list ...

,----[ C-h v package-load-list RET ]
| package-load-list is a variable defined in `package.el'.
| Its value is (all)
| 
| 
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| List of packages for `package-initialize' to load.
| Each element in this list should be a list (NAME VERSION), or the
| symbol `all'.  The symbol `all' says to load the latest installed
| versions of all packages not specified by other elements.
| 
| For an element (NAME VERSION), NAME is a package name (a symbol).
| VERSION should be t, a string, or nil.
| If VERSION is t, all versions are loaded, though obsolete ones
|  will be put in `package-obsolete-alist' and not activated.
| If VERSION is a string, only that version is ever loaded.
|  Any other version, even if newer, is silently ignored.
|  Hence, the package is "held" at that version.
| If VERSION is nil, the package is not loaded (it is "disabled").
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 24.1 of Emacs.
| 
| [back]
`----

>
>
>         Stefan
>
>

-- 



reply via email to

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