# HG changeset patch # User Luc Teirlinck # Date 1113158323 0 # Node ID 7279141eb80e4f155cc3a9c14c43383335264df5 # Parent bf74e258742e91676d68d894efb7754ec0a96f5b (custom-set-minor-mode): Any non-nil value for the variable should enable the mode when set through Custom. diff -r bf74e258742e -r 7279141eb80e lisp/custom.el --- a/lisp/custom.el Sun Apr 10 18:15:43 2005 +0000 +++ b/lisp/custom.el Sun Apr 10 18:38:43 2005 +0000 @@ -841,8 +841,8 @@ this sets the local binding in that buffer instead." (if custom-local-buffer (with-current-buffer custom-local-buffer - (funcall variable (or value 0))) - (funcall variable (or value 0)))) + (funcall variable (if value 1 0))) + (funcall variable (if value 1 0)))) (defun custom-quote (sexp) "Quote SEXP iff it is not self quoting."