branch: externals/setup
commit de9b86c6f29cf9888e911924ffc4ce47312320c3
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Fix check to refresh package contents for VC packages
---
 setup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.el b/setup.el
index 63db90d0b5..ed35225b12 100644
--- a/setup.el
+++ b/setup.el
@@ -544,7 +544,7 @@ If FUNCTION is a list, apply BODY to all elements of 
FUNCTION."
                       (car package))
                   package)))
       `(unless (package-installed-p ',name)
-         (unless (assq ',package package-archive-contents)
+         (unless (assq ',(or (car-safe package) package) 
package-archive-contents)
            (package-refresh-contents))
          ,(cond
            ((and (consp package) (consp (cdr package)))

Reply via email to