changeset 49103:7c84e7bb3879

(set-variable): Load deps of custom variables without type.
author Markus Rost <rost@math.uni-bielefeld.de>
date Tue, 07 Jan 2003 19:25:20 +0000
parents 8f2b5f65ebd1
children b74a6560ecbb
files lisp/simple.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Jan 07 19:17:46 2003 +0000
+++ b/lisp/simple.el	Tue Jan 07 19:25:20 2003 +0000
@@ -3690,6 +3690,9 @@
 					   'set-variable-value-history)))))
 		 (list var val current-prefix-arg)))
 
+  (and (custom-variable-p var)
+       (not (get var 'custom-type))
+       (custom-load-symbol var))
   (let ((type (get var 'custom-type)))
     (when type
       ;; Match with custom type.