Mercurial > emacs
diff lisp/custom.el @ 61432:7279141eb80e
(custom-set-minor-mode): Any non-nil value for the variable should
enable the mode when set through Custom.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sun, 10 Apr 2005 18:38:43 +0000 |
parents | 28b5c27160e8 |
children | a4f9ea538274 |
line wrap: on
line diff
--- 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."