1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(custom-set-minor-mode): Any non-nil value for the variable should

enable the mode when set through Custom.
This commit is contained in:
Luc Teirlinck 2005-04-10 18:38:43 +00:00
parent 4bcb9c95c1
commit 5c5fc296bc

View file

@ -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."