changeset 26834:782476a34d9d

Custom option keyword :set-after.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 14 Dec 1999 13:01:12 +0000
parents e7000551b2ed
children 44fd08970a49
files etc/NEWS
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Dec 14 13:00:09 1999 +0000
+++ b/etc/NEWS	Tue Dec 14 13:01:12 1999 +0000
@@ -385,6 +385,21 @@
 Custom buffers when you've done with them or just bury them (the
 default).
 
+*** The keyword :set-after in defcustom allows to specify dependencies
+between custom options.  Example:
+
+  (defcustom default-input-method nil
+    "*Default input method for multilingual text (a string).
+  This is the input method activated automatically by the command
+  `toggle-input-method' (\\[toggle-input-method])."
+    :group 'mule
+    :type '(choice (const nil) string)
+    :set-after '(current-language-environment))
+
+This specifies that default-input-method should be set after
+current-language-environment even if default-input-method appears
+first in a custom-set-variables statement.
+
 ** New features in evaluation commands
 
 The commands to evaluate Lisp expressions, such as C-M-x in Lisp