aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-04-10 23:44:54 +0000
committerBill Wohler2006-04-10 23:44:54 +0000
commite5e864abb21f29bdfdf68fb77344b1ec027391e9 (patch)
treefa333038eea207eb85ab0db3f5ba67003d6e6e47
parent4e9c705e50b4e6ee733e0134703b00253cc4cf7c (diff)
downloademacs-e5e864abb21f29bdfdf68fb77344b1ec027391e9.tar.gz
emacs-e5e864abb21f29bdfdf68fb77344b1ec027391e9.zip
(Common Keywords): Add :package-version.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/customize.texi19
2 files changed, 23 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 43fcd1e406d..f4ad95fc04e 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12006-04-10 Bill Wohler <wohler@newt.com>
2
3 * customize.texi (Common Keywords): Add :package-version.
4
12006-04-10 Kim F. Storm <storm@cua.dk> 52006-04-10 Kim F. Storm <storm@cua.dk>
2 6
3 * text.texi (Buffer Contents): Add NOPROPS arg to 7 * text.texi (Buffer Contents): Add NOPROPS arg to
diff --git a/lispref/customize.texi b/lispref/customize.texi
index 1ae3b5b5132..a13793ecb54 100644
--- a/lispref/customize.texi
+++ b/lispref/customize.texi
@@ -130,6 +130,25 @@ any effect unless the code which implements the mode is loaded.
130This option specifies that the item was first introduced in Emacs 130This option specifies that the item was first introduced in Emacs
131version @var{version}, or that its default value was changed in that 131version @var{version}, or that its default value was changed in that
132version. The value @var{version} must be a string. 132version. The value @var{version} must be a string.
133
134@item :package-version '(@var{package} @var{version})
135This option specifies that the item was first introduced in
136@var{package} version @var{version}, or that its default value was
137changed in that version. This keyword takes priority over :version.
138The @var{package} and @var{version} must appear in the alist
139@code{customize-package-emacs-version-alist}. This alist maps packages
140to alists that map all package versions used with the
141@code{:package-version} keyword to Emacs versions. Packages are
142symbols and versions are strings. For example, the MH-E package
143updates this alist with the following:
144
145@smallexample
146(add-to-list 'customize-package-emacs-version-alist
147 '(MH-E ("6.0" "22.1") ("6.1" "22.1") ("7.0" "22.1")
148 ("7.1" "22.1") ("7.2" "22.1") ("7.3" "22.1")
149 ("7.4" "22.1") ("8.0" "22.1")))
150@end smallexample
151
133@end table 152@end table
134 153
135@node Group Definitions 154@node Group Definitions