[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11410: 24.1.50; package.el `emacs' package information is broken
From: |
Stefan Monnier |
Subject: |
bug#11410: 24.1.50; package.el `emacs' package information is broken |
Date: |
Sat, 05 May 2012 08:37:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> The Elisp manual "Conventional Headers for Emacs Libraries" node says:
> The package code automatically defines a package named `emacs'
> with the version number of the currently running Emacs. This can
> be used to require a minimal version of Emacs for a package.
BTW I highly doubt the usefulness of such a dependency. Package.el can
use dependencies to automatically download&update needed packages, but
it currently can't do that for `emacs', and in general it's can't do
that at all (the same set of installed packages might even be used by
different versions of Emacs).
So such a dependency makes more sense as a load-time test (written in
Elisp directly in the package's code) rather than as
a package.el dependency.
Stefan