From d502f0c4b5bf0d6dbf0a125b01db21fa3b6292df Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 16 Oct 2019 15:42:41 +0200 Subject: [PATCH] * lisp/wid-edit.el (widget-default-active): Normalize boolean result. --- lisp/wid-edit.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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." -- 2.39.2