From 7e11145badf0964f7d520548242088df74f03884 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Mon, 7 Oct 2019 12:37:34 -0500 Subject: [PATCH] Fix: (--defpred) Debug declaration To work with preds with aliases. --- org-ql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-ql.el b/org-ql.el index 13dde58..084138f 100644 --- a/org-ql.el +++ b/org-ql.el @@ -124,7 +124,7 @@ docstring. BODY is the body of the predicate. Predicates will be called with point on the beginning of an Org heading and should return non-nil if the heading's entry is a match." - (declare (debug (symbolp listp stringp def-body)) + (declare (debug ([&or symbolp listp] listp stringp def-body)) (indent defun)) (let* ((aliases (when (listp name) (cdr name)))