# HG changeset patch # User Richard M. Stallman # Date 1154138353 0 # Node ID e75e70410a5ad909aac089d98d46ebb148092c67 # Parent c594a1694d31476826c699d6cbe217af7e42e890 (Common Keywords): Document how to use :package-version in a package not in Emacs. diff -r c594a1694d31 -r e75e70410a5a lispref/customize.texi --- a/lispref/customize.texi Sat Jul 29 01:57:38 2006 +0000 +++ b/lispref/customize.texi Sat Jul 29 01:59:13 2006 +0000 @@ -133,18 +133,21 @@ @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 value of @var{package} is a symbol and @var{version} is a string. -The @var{package} and @var{version} must appear in the alist -@code{customize-package-emacs-version-alist}. Since @var{package} must -be unique and the user might see it in an error message, a good choice -is the official name of the package, such as MH-E or Gnus. +@var{package} version @var{version}, or that its meaning or default +value was changed in that version. The value of @var{package} is a +symbol and @var{version} is a string. +This keyword takes priority over @code{:version}. + +@var{package} should be the official name of the package, such as MH-E +or Gnus. If the package @var{package} is released as part of Emacs, +@var{package} and @var{version} should appear in the value of +@code{customize-package-emacs-version-alist}. @end table -Packages that use the @code{:package-version} keyword must also update -the @code{customize-package-emacs-version-alist} variable. +Packages distributed as part of Emacs that use the +@code{:package-version} keyword must also update the +@code{customize-package-emacs-version-alist} variable. @defvar customize-package-emacs-version-alist This alist provides a mapping for the versions of Emacs that are