[Top][All Lists]

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

Re: [Emacs-diffs] trunk r115918: package.el: various fixes.

From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r115918: package.el: various fixes.
Date: Wed, 08 Jan 2014 09:16:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> @@ -881,13 +881,14 @@
>    "Return true if PACKAGE, of MIN-VERSION or newer, is installed.
>  MIN-VERSION should be a version list."
>    (unless package--initialized (error "package.el is not yet initialized!"))
> +  (when (assq package package-alist)
>      (or
>       (let ((pkg-descs (cdr (assq package package-alist))))
>         (and pkg-descs
>              (version-list-<= min-version
>                               (package-desc-version (car pkg-descs)))))
>       ;; Also check built-in packages.
> -     (package-built-in-p package min-version)))
> +     (package-built-in-p package min-version))))
Could you explain in which circumstance you found this necessary?
This might point to a problem elsewhere,


reply via email to

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