From: Markus Rost Date: Tue, 7 Jan 2003 19:25:20 +0000 (+0000) Subject: (set-variable): Load deps of custom variables without type. X-Git-Tag: ttn-vms-21-2-B4~11782 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90b4a157455de916dc809c85095766d7500c22d1;p=emacs.git (set-variable): Load deps of custom variables without type. --- diff --git a/lisp/simple.el b/lisp/simple.el index f93b819e351..9ed9e2e84d7 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3690,6 +3690,9 @@ With a prefix argument, set VARIABLE to VALUE buffer-locally." '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.