diff options
| author | Luc Teirlinck | 2005-07-14 01:01:37 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-07-14 01:01:37 +0000 |
| commit | a042b6ae07d702c4888dbb2481f5de239234e254 (patch) | |
| tree | bd730a7b17b777831d1b318069bf6c8e260fc736 | |
| parent | 947d4ae822fd0925fc029317860825f54b50fb2b (diff) | |
| download | emacs-a042b6ae07d702c4888dbb2481f5de239234e254.tar.gz emacs-a042b6ae07d702c4888dbb2481f5de239234e254.zip | |
(custom-initialize-safe-set, custom-initialize-safe-default): Doc fixes.
| -rw-r--r-- | lisp/custom.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index b2ab004dc8c..063c882dd6f 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -80,9 +80,9 @@ if any, or VALUE." | |||
| 80 | "Like `custom-initialize-set', but catches errors. | 80 | "Like `custom-initialize-set', but catches errors. |
| 81 | If an error occurs during initialization, SYMBOL is set to nil | 81 | If an error occurs during initialization, SYMBOL is set to nil |
| 82 | and no error is thrown. This is meant for use in pre-loaded files | 82 | and no error is thrown. This is meant for use in pre-loaded files |
| 83 | where some variables used to compute VALUE are not yet defined. | 83 | where some variables or functions used to compute VALUE are not yet |
| 84 | You can then re-evaluate VALUE in startup.el, for instance using | 84 | defined. You can then re-evaluate VALUE in startup.el, for instance |
| 85 | `custom-reevaluate-setting'." | 85 | using `custom-reevaluate-setting'." |
| 86 | (condition-case nil | 86 | (condition-case nil |
| 87 | (custom-initialize-set symbol value) | 87 | (custom-initialize-set symbol value) |
| 88 | (error (set-default symbol nil)))) | 88 | (error (set-default symbol nil)))) |
| @@ -91,9 +91,9 @@ You can then re-evaluate VALUE in startup.el, for instance using | |||
| 91 | "Like `custom-initialize-default', but catches errors. | 91 | "Like `custom-initialize-default', but catches errors. |
| 92 | If an error occurs during initialization, SYMBOL is set to nil | 92 | If an error occurs during initialization, SYMBOL is set to nil |
| 93 | and no error is thrown. This is meant for use in pre-loaded files | 93 | and no error is thrown. This is meant for use in pre-loaded files |
| 94 | where some variables used to compute VALUE are not yet defined. | 94 | where some variables or functions used to compute VALUE are not yet |
| 95 | You can then re-evaluate VALUE in startup.el, for instance using | 95 | defined. You can then re-evaluate VALUE in startup.el, for instance |
| 96 | `custom-reevaluate-setting'." | 96 | using `custom-reevaluate-setting'." |
| 97 | (condition-case nil | 97 | (condition-case nil |
| 98 | (custom-initialize-default symbol value) | 98 | (custom-initialize-default symbol value) |
| 99 | (error (set-default symbol nil)))) | 99 | (error (set-default symbol nil)))) |