summaryrefslogtreecommitdiff
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-20 17:39:30 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-20 17:39:30 +0000
commitd748597dfd37024602ad9075b4396ea6cdd15088 (patch)
treee01cfddccd52181d285efd6606f7ea9f0cbe93da /lisp/custom.el
parent47d79be73e441d17f13dee4f702e0e93a0d8cec7 (diff)
downloademacs-d748597dfd37024602ad9075b4396ea6cdd15088.tar.gz
(custom-declare-variable-list): Process already-declared
custom variables from this list.
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 1d93305c22e..b56c5af3aaf 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -394,6 +394,11 @@ the default value for the SYMBOL."
;;; The End.
+;; Process the defcustoms for variables loaded before this file.
+(while custom-declare-variable-list
+ (apply 'custom-declare-variable (car custom-declare-variable-list))
+ (setq custom-declare-variable-list (cdr custom-declare-variable-list)))
+
(provide 'custom)
;; custom.el ends here