diff options
| author | Bill Wohler | 2006-04-10 23:44:54 +0000 |
|---|---|---|
| committer | Bill Wohler | 2006-04-10 23:44:54 +0000 |
| commit | e5e864abb21f29bdfdf68fb77344b1ec027391e9 (patch) | |
| tree | fa333038eea207eb85ab0db3f5ba67003d6e6e47 | |
| parent | 4e9c705e50b4e6ee733e0134703b00253cc4cf7c (diff) | |
| download | emacs-e5e864abb21f29bdfdf68fb77344b1ec027391e9.tar.gz emacs-e5e864abb21f29bdfdf68fb77344b1ec027391e9.zip | |
(Common Keywords): Add :package-version.
| -rw-r--r-- | lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | lispref/customize.texi | 19 |
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 @@ | |||
| 1 | 2006-04-10 Bill Wohler <wohler@newt.com> | ||
| 2 | |||
| 3 | * customize.texi (Common Keywords): Add :package-version. | ||
| 4 | |||
| 1 | 2006-04-10 Kim F. Storm <storm@cua.dk> | 5 | 2006-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. | |||
| 130 | This option specifies that the item was first introduced in Emacs | 130 | This option specifies that the item was first introduced in Emacs |
| 131 | version @var{version}, or that its default value was changed in that | 131 | version @var{version}, or that its default value was changed in that |
| 132 | version. The value @var{version} must be a string. | 132 | version. The value @var{version} must be a string. |
| 133 | |||
| 134 | @item :package-version '(@var{package} @var{version}) | ||
| 135 | This option specifies that the item was first introduced in | ||
| 136 | @var{package} version @var{version}, or that its default value was | ||
| 137 | changed in that version. This keyword takes priority over :version. | ||
| 138 | The @var{package} and @var{version} must appear in the alist | ||
| 139 | @code{customize-package-emacs-version-alist}. This alist maps packages | ||
| 140 | to alists that map all package versions used with the | ||
| 141 | @code{:package-version} keyword to Emacs versions. Packages are | ||
| 142 | symbols and versions are strings. For example, the MH-E package | ||
| 143 | updates 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 |