Commit 8ed50a66 authored by Chong Yidong's avatar Chong Yidong

* cus-edit.el (customize-set-variable): Push setting to `user' theme.

parent fccf2784
......@@ -932,6 +932,7 @@ If given a prefix (or a COMMENT argument), also prompt for a comment."
"Set customized value for %s to: "
current-prefix-arg))
(custom-load-symbol variable)
(custom-push-theme 'theme-value variable 'user 'set (custom-quote value))
(funcall (or (get variable 'custom-set) 'set-default) variable value)
(put variable 'customized-value (list (custom-quote value)))
(cond ((string= comment "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment