]> code.delx.au - gnu-emacs/commitdiff
(Common Keywords): Add :package-version.
authorBill Wohler <wohler@newt.com>
Mon, 10 Apr 2006 23:44:54 +0000 (23:44 +0000)
committerBill Wohler <wohler@newt.com>
Mon, 10 Apr 2006 23:44:54 +0000 (23:44 +0000)
lispref/ChangeLog
lispref/customize.texi

index 43fcd1e406dbc8cf0a39a9479a93ce40ec846ad0..f4ad95fc04e2fed8e8f524feb567fdc510e28912 100644 (file)
@@ -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
index 1ae3b5b5132be4c9772a262bcc79b9a0fccd65f4..a13793ecb541ed1dc4935fb166d25ab4a943a3bc 100644 (file)
@@ -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