diff options
| author | Richard M. Stallman | 2006-07-29 02:00:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-07-29 02:00:26 +0000 |
| commit | eb107d095c503ebe018e333bc479f24e83d8c305 (patch) | |
| tree | bfd1e8a94a11462c11fdca423657c22b06275379 | |
| parent | 418ca4d22a6bb3aa5bd4584f21ed4c7da12e0b80 (diff) | |
| download | emacs-eb107d095c503ebe018e333bc479f24e83d8c305.tar.gz emacs-eb107d095c503ebe018e333bc479f24e83d8c305.zip | |
(Common Keywords): Document how to use
:package-version in a package not in Emacs.
| -rw-r--r-- | lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | lispref/customize.texi | 21 |
2 files changed, 17 insertions, 9 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 09757fca10b..7bc5e51062e 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-07-28 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * customize.texi (Common Keywords): Document how to use | ||
| 4 | :package-version in a package not in Emacs. | ||
| 5 | |||
| 1 | 2006-07-28 Kim F. Storm <storm@cua.dk> | 6 | 2006-07-28 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * commands.texi (Reading One Event): Fix last change. | 8 | * commands.texi (Reading One Event): Fix last change. |
diff --git a/lispref/customize.texi b/lispref/customize.texi index 3aca1a90bcf..e3e78c46bb4 100644 --- a/lispref/customize.texi +++ b/lispref/customize.texi | |||
| @@ -133,18 +133,21 @@ version. The value @var{version} must be a string. | |||
| 133 | 133 | ||
| 134 | @item :package-version '(@var{package} . @var{version}) | 134 | @item :package-version '(@var{package} . @var{version}) |
| 135 | This option specifies that the item was first introduced in | 135 | This option specifies that the item was first introduced in |
| 136 | @var{package} version @var{version}, or that its default value was | 136 | @var{package} version @var{version}, or that its meaning or default |
| 137 | changed in that version. This keyword takes priority over :version. | 137 | value was changed in that version. The value of @var{package} is a |
| 138 | The value of @var{package} is a symbol and @var{version} is a string. | 138 | symbol and @var{version} is a string. |
| 139 | The @var{package} and @var{version} must appear in the alist | ||
| 140 | @code{customize-package-emacs-version-alist}. Since @var{package} must | ||
| 141 | be unique and the user might see it in an error message, a good choice | ||
| 142 | is the official name of the package, such as MH-E or Gnus. | ||
| 143 | 139 | ||
| 140 | This keyword takes priority over @code{:version}. | ||
| 141 | |||
| 142 | @var{package} should be the official name of the package, such as MH-E | ||
| 143 | or Gnus. If the package @var{package} is released as part of Emacs, | ||
| 144 | @var{package} and @var{version} should appear in the value of | ||
| 145 | @code{customize-package-emacs-version-alist}. | ||
| 144 | @end table | 146 | @end table |
| 145 | 147 | ||
| 146 | Packages that use the @code{:package-version} keyword must also update | 148 | Packages distributed as part of Emacs that use the |
| 147 | the @code{customize-package-emacs-version-alist} variable. | 149 | @code{:package-version} keyword must also update the |
| 150 | @code{customize-package-emacs-version-alist} variable. | ||
| 148 | 151 | ||
| 149 | @defvar customize-package-emacs-version-alist | 152 | @defvar customize-package-emacs-version-alist |
| 150 | This alist provides a mapping for the versions of Emacs that are | 153 | This alist provides a mapping for the versions of Emacs that are |