From: Juanma Barranquero Date: Wed, 16 Oct 2019 13:42:41 +0000 (+0200) Subject: * lisp/wid-edit.el (widget-default-active): Normalize boolean result. X-Git-Tag: emacs-27.0.90~1029 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d502f0c4b5bf0d6dbf0a125b01db21fa3b6292df;p=emacs.git * lisp/wid-edit.el (widget-default-active): Normalize boolean result. --- diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 4d1a609809d..32e0b3e125b 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -1663,7 +1663,8 @@ The value of the :type attribute should be an unconverted widget type." (and (not (widget-get widget :inactive)) (let ((parent (widget-get widget :parent))) (or (null parent) - (widget-apply parent :active)))))) + (widget-apply parent :active))) + t))) (defun widget-default-deactivate (widget) "Make WIDGET inactive for user modifications."