1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

(custom-initialize-safe-set, custom-initialize-safe-default): Doc fixes.

This commit is contained in:
Luc Teirlinck 2005-07-14 01:01:37 +00:00
parent 947d4ae822
commit a042b6ae07

View File

@ -80,9 +80,9 @@ if any, or VALUE."
"Like `custom-initialize-set', but catches errors.
If an error occurs during initialization, SYMBOL is set to nil
and no error is thrown. This is meant for use in pre-loaded files
where some variables used to compute VALUE are not yet defined.
You can then re-evaluate VALUE in startup.el, for instance using
`custom-reevaluate-setting'."
where some variables or functions used to compute VALUE are not yet
defined. You can then re-evaluate VALUE in startup.el, for instance
using `custom-reevaluate-setting'."
(condition-case nil
(custom-initialize-set symbol value)
(error (set-default symbol nil))))
@ -91,9 +91,9 @@ You can then re-evaluate VALUE in startup.el, for instance using
"Like `custom-initialize-default', but catches errors.
If an error occurs during initialization, SYMBOL is set to nil
and no error is thrown. This is meant for use in pre-loaded files
where some variables used to compute VALUE are not yet defined.
You can then re-evaluate VALUE in startup.el, for instance using
`custom-reevaluate-setting'."
where some variables or functions used to compute VALUE are not yet
defined. You can then re-evaluate VALUE in startup.el, for instance
using `custom-reevaluate-setting'."
(condition-case nil
(custom-initialize-default symbol value)
(error (set-default symbol nil))))