diff options
| author | Gerd Moellmann | 1999-12-14 13:01:12 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-12-14 13:01:12 +0000 |
| commit | 0ae51efbbd2d5538461c17bc7d899f90a34a8a6e (patch) | |
| tree | 97bc517745e8d7b5d27b77ef0e72be98c0472c48 /etc | |
| parent | 5806e8a61d1f9f2a807936679a133b2ce5f2218a (diff) | |
| download | emacs-0ae51efbbd2d5538461c17bc7d899f90a34a8a6e.tar.gz emacs-0ae51efbbd2d5538461c17bc7d899f90a34a8a6e.zip | |
Custom option keyword :set-after.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 15 |
1 files changed, 15 insertions, 0 deletions
| @@ -385,6 +385,21 @@ cause the customizations to fail in earlier versions of Emacs. | |||
| 385 | Custom buffers when you've done with them or just bury them (the | 385 | Custom buffers when you've done with them or just bury them (the |
| 386 | default). | 386 | default). |
| 387 | 387 | ||
| 388 | *** The keyword :set-after in defcustom allows to specify dependencies | ||
| 389 | between custom options. Example: | ||
| 390 | |||
| 391 | (defcustom default-input-method nil | ||
| 392 | "*Default input method for multilingual text (a string). | ||
| 393 | This is the input method activated automatically by the command | ||
| 394 | `toggle-input-method' (\\[toggle-input-method])." | ||
| 395 | :group 'mule | ||
| 396 | :type '(choice (const nil) string) | ||
| 397 | :set-after '(current-language-environment)) | ||
| 398 | |||
| 399 | This specifies that default-input-method should be set after | ||
| 400 | current-language-environment even if default-input-method appears | ||
| 401 | first in a custom-set-variables statement. | ||
| 402 | |||
| 388 | ** New features in evaluation commands | 403 | ** New features in evaluation commands |
| 389 | 404 | ||
| 390 | The commands to evaluate Lisp expressions, such as C-M-x in Lisp | 405 | The commands to evaluate Lisp expressions, such as C-M-x in Lisp |