mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
Don't warn about double init for :type elpa
We can assume package.el doesn't re-init the package. * el-get.el (el-get-do-init): Don't warn if package's method is elpa.
This commit is contained in:
parent
954971b1b4
commit
42a79678b5
|
@ -373,7 +373,8 @@ called by `el-get' (usually at startup) for each installed package."
|
|||
(when (and (not (eq psym 'el-get)) ; el-get recipe handles reloading
|
||||
(memq psym (bound-and-true-p package-activated-list))
|
||||
(not (memq psym el-get-activated-list))
|
||||
(package-installed-p psym))
|
||||
(package-installed-p psym)
|
||||
(not (eq 'elpa (el-get-package-method package))))
|
||||
(lwarn 'el-get :warning
|
||||
"The package `%s' has already been loaded by
|
||||
package.el, attempting to load el-get version instead. To avoid
|
||||
|
|
Loading…
Reference in New Issue
Block a user