# HG changeset patch # User Richard M. Stallman # Date 1193370656 0 # Node ID 58abbc936e8f845b9a42eca7ea1446f64bd21a07 # Parent 613f4fd7b6c5377035b486caca2e4302528bf962 (custom-note-var-changed): New function. diff -r 613f4fd7b6c5 -r 58abbc936e8f lisp/custom.el --- a/lisp/custom.el Fri Oct 26 01:59:44 2007 +0000 +++ b/lisp/custom.el Fri Oct 26 03:50:56 2007 +0000 @@ -579,6 +579,15 @@ (or (get variable 'standard-value) (get variable 'custom-autoload))) +(defun custom-note-var-changed (variable) + "Inform Custom that VARIABLE has been set (changed). +VARIABLE is a symbol that names a user option. +The result is that the change is treated as having been made through Custom." + (interactive "vVariable: ") + (put variable 'customized-value (list (custom-quote (eval variable))))) + + ;;; Custom Themes + ;;; Loading files needed to customize a symbol. ;;; This is in custom.el because menu-bar.el needs it for toggle cmds.