# HG changeset patch # User Bill Wohler # Date 1144712694 0 # Node ID 9e0c65fe8bd169e69537776f478b4200ba6b8c9a # Parent dc1f0ab7e2763bcd6d85674f710d0834894dd684 (Common Keywords): Add :package-version. diff -r dc1f0ab7e276 -r 9e0c65fe8bd1 lispref/ChangeLog --- 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 + + * customize.texi (Common Keywords): Add :package-version. + 2006-04-10 Kim F. Storm * text.texi (Buffer Contents): Add NOPROPS arg to diff -r dc1f0ab7e276 -r 9e0c65fe8bd1 lispref/customize.texi --- 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