Mercurial > emacs
changeset 69923:9e0c65fe8bd1
(Common Keywords): Add :package-version.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Mon, 10 Apr 2006 23:44:54 +0000 |
parents | dc1f0ab7e276 |
children | b65913621fc8 |
files | lispref/ChangeLog lispref/customize.texi |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/ChangeLog Mon Apr 10 23:43:34 2006 +0000 +++ b/lispref/ChangeLog Mon Apr 10 23:44:54 2006 +0000 @@ -1,3 +1,7 @@ +2006-04-10 Bill Wohler <wohler@newt.com> + + * customize.texi (Common Keywords): Add :package-version. + 2006-04-10 Kim F. Storm <storm@cua.dk> * text.texi (Buffer Contents): Add NOPROPS arg to
--- a/lispref/customize.texi Mon Apr 10 23:43:34 2006 +0000 +++ b/lispref/customize.texi Mon Apr 10 23:44:54 2006 +0000 @@ -130,6 +130,25 @@ This option specifies that the item was first introduced in Emacs version @var{version}, or that its default value was changed in that version. The value @var{version} must be a string. + +@item :package-version '(@var{package} @var{version}) +This option specifies that the item was first introduced in +@var{package} version @var{version}, or that its default value was +changed in that version. This keyword takes priority over :version. +The @var{package} and @var{version} must appear in the alist +@code{customize-package-emacs-version-alist}. This alist maps packages +to alists that map all package versions used with the +@code{:package-version} keyword to Emacs versions. Packages are +symbols and versions are strings. For example, the MH-E package +updates this alist with the following: + +@smallexample +(add-to-list 'customize-package-emacs-version-alist + '(MH-E ("6.0" "22.1") ("6.1" "22.1") ("7.0" "22.1") + ("7.1" "22.1") ("7.2" "22.1") ("7.3" "22.1") + ("7.4" "22.1") ("8.0" "22.1"))) +@end smallexample + @end table @node Group Definitions