1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

(Common Keywords): Add :package-version.

This commit is contained in:
Bill Wohler 2006-04-10 23:44:54 +00:00
parent 4e9c705e50
commit e5e864abb2
2 changed files with 23 additions and 0 deletions

View 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

View 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