Mercurial > emacs
changeset 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 | bf74e258742e |
children | 74a256d5f3ec |
files | lisp/custom.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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."