Mercurial > emacs
changeset 64239:bcc16dd12f8b
(custom-reevaluate-setting): Doc fix.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Mon, 11 Jul 2005 23:41:11 +0000 |
parents | 43728ab75a62 |
children | 91fb641ae4e2 |
files | lisp/custom.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/custom.el Mon Jul 11 23:36:50 2005 +0000 +++ b/lisp/custom.el Mon Jul 11 23:41:11 2005 +0000 @@ -680,10 +680,10 @@ (apply 'custom-theme-set-variables 'user args)) (defun custom-reevaluate-setting (symbol) - "Reset the value of SYMBOL by re-evaluating its saved or default value. -This is useful for variables that are defined before their default value -can really be computed. E.g. dumped variables whose default depends on -run-time information." + "Reset the value of SYMBOL by re-evaluating its saved or standard value. +Use the :set function to do so. This is useful for customizable options +that are defined before their standard value can really be computed. +E.g. dumped variables whose default depends on run-time information." (funcall (or (get symbol 'custom-set) 'set-default) symbol (eval (car (or (get symbol 'saved-value) (get symbol 'standard-value))))))