summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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