Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Maybe this is best.
  • Loading branch information
alphapapa committed Jun 27, 2024
1 parent b76b9f9 commit e4b7611
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions org-ql.el
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,10 @@ defined in `org-ql-predicates' by calling `org-ql-defpred'."
;; Only one preamble is allowed
element)
(pcase element
(`(or ,element)
;; A predicate with a single name: unwrap the OR. (Pcase doesn't like
;; "one-armed ORs", giving a "Please avoid it" compilation error.)
element)

,@preamble-patterns

Expand Down

0 comments on commit e4b7611

Please sign in to comment.