]> code.delx.au - gnu-emacs/blobdiff - lisp/simple.el
* paths.el: Remove gnus-startup-file.
[gnu-emacs] / lisp / simple.el
index f93b819e351ccd4258bb2e2e74be3ff86f596858..9ed9e2e84d7c0f9d6b051e85f95d471406d9b240 100644 (file)
@@ -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.