From: Bill Wohler Date: Mon, 10 Apr 2006 23:44:54 +0000 (+0000) Subject: (Common Keywords): Add :package-version. X-Git-Tag: emacs-pretest-22.0.90~3225 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/e5e864abb21f29bdfdf68fb77344b1ec027391e9 (Common Keywords): Add :package-version. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 43fcd1e406..f4ad95fc04 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -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 --git a/lispref/customize.texi b/lispref/customize.texi index 1ae3b5b513..a13793ecb5 100644 --- a/lispref/customize.texi +++ b/lispref/customize.texi @@ -130,6 +130,25 @@ any effect unless the code which implements the mode is loaded. 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