diff options
author | Luc Teirlinck <[email protected]> | 2005-04-10 18:38:43 +0000 |
---|---|---|
committer | Luc Teirlinck <[email protected]> | 2005-04-10 18:38:43 +0000 |
commit | 5c5fc296bc442f699bc131e7808f880b24a01aee (patch) | |
tree | 692a7200bff1330c4b6289bf21ba94fc8de24696 | |
parent | 4bcb9c95c11c7fd05710d2f2bf78015d3de8176a (diff) |
(custom-set-minor-mode): Any non-nil value for the variable should
enable the mode when set through Custom.
-rw-r--r-- | lisp/custom.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index 77b54a109c..019fdb79b3 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -841,8 +841,8 @@ but if `custom-local-buffer' is non-nil, 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." |