From: Eshel Yaron Date: Thu, 10 Nov 2022 20:37:14 +0000 (+0200) Subject: FIXED: possible error in sweeprolog-describe-predicate X-Git-Tag: V8.5.20-sweep-0.8.6~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24fe2b82fe3df8be650a1961a03d2b6a5f602b98;p=sweep.git FIXED: possible error in sweeprolog-describe-predicate --- diff --git a/sweeprolog.el b/sweeprolog.el index 3e96f56..0aa088a 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -3584,12 +3584,14 @@ if-then-else constructs in SWI-Prolog." (concat " is a SWI-Prolog predicate.\n\n" page) " is an undocumented SWI-Prolog predicate.") - (when props - (sweeprolog--render-predicate-properties props)))) + (if props + (sweeprolog--render-predicate-properties props) + ""))) (if page (insert pred " is a SWI-Prolog predicate.\n\n" page - (when props - (sweeprolog--render-predicate-properties props))) + (if props + (sweeprolog--render-predicate-properties props) + "")) (insert pred " is not documented as a SWI-Prolog predicate."))))))) ;;;###autoload