1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

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

This commit is contained in:
Chong Yidong 2006-02-19 17:27:37 +00:00
parent fccf278488
commit 8ed50a66d3

View File

@ -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 "")