aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-07-11 23:41:11 +0000
committerLuc Teirlinck2005-07-11 23:41:11 +0000
commit051268946f868d2ff01e821fdd092d5632afb624 (patch)
tree6e99456358ab4364be4f40547f74a1d7daf95834
parent350ecc492064903c82feeff26900e784ce77e54a (diff)
downloademacs-051268946f868d2ff01e821fdd092d5632afb624.tar.gz
emacs-051268946f868d2ff01e821fdd092d5632afb624.zip
(custom-reevaluate-setting): Doc fix.
-rw-r--r--lisp/custom.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index f17ce1e5175..b2ab004dc8c 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -680,10 +680,10 @@ COMMENT is a comment string about SYMBOL."
680 (apply 'custom-theme-set-variables 'user args)) 680 (apply 'custom-theme-set-variables 'user args))
681 681
682(defun custom-reevaluate-setting (symbol) 682(defun custom-reevaluate-setting (symbol)
683 "Reset the value of SYMBOL by re-evaluating its saved or default value. 683 "Reset the value of SYMBOL by re-evaluating its saved or standard value.
684This is useful for variables that are defined before their default value 684Use the :set function to do so. This is useful for customizable options
685can really be computed. E.g. dumped variables whose default depends on 685that are defined before their standard value can really be computed.
686run-time information." 686E.g. dumped variables whose default depends on run-time information."
687 (funcall (or (get symbol 'custom-set) 'set-default) 687 (funcall (or (get symbol 'custom-set) 'set-default)
688 symbol 688 symbol
689 (eval (car (or (get symbol 'saved-value) (get symbol 'standard-value)))))) 689 (eval (car (or (get symbol 'saved-value) (get symbol 'standard-value))))))