Change: (org-ql--byte-compile-warning) More useful error message

e.g. if a predicate only accepts one argument, but the query gives
two, now the error will say, "PREDICATE called with 2 arguments, but
accepts only 1" (so maybe the predicate definition just needs
"&rest").
This commit is contained in:
Adam Porter 2022-05-31 12:01:19 -05:00
parent d0acc8cbba
commit 67506a56f8
3 changed files with 36 additions and 30 deletions

View file

@ -540,6 +540,9 @@ Simple links may also be written manually in either sexp or non-sexp form, like:
*Added*
+ Commands ~org-ql-find~, ~org-ql-find-heading~, and ~org-ql-find-path~, which jump to entries selected using Emacs's built-in completion facilities and Org QL queries (like ~helm-org-ql~, but doesn't require Helm.).
*Changed*
+ Give more useful error message for invalid queries.
** 0.6.2
*Fixed*