From 90b4a157455de916dc809c85095766d7500c22d1 Mon Sep 17 00:00:00 2001 From: Markus Rost Date: Tue, 7 Jan 2003 19:25:20 +0000 Subject: [PATCH] (set-variable): Load deps of custom variables without type. --- lisp/simple.el | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.2