Fix: (category) Add normalizer for alias
This commit is contained in:
parent
8dae879841
commit
36ff9854ce
1 changed files with 2 additions and 0 deletions
|
|
@ -1327,6 +1327,8 @@ result form."
|
|||
|
||||
(org-ql-defpred (category c) (&rest categories)
|
||||
"Return non-nil if current heading is in one or more of CATEGORIES (a list of strings)."
|
||||
:normalizers ((`(,predicate-names . ,rest)
|
||||
`(category ,@rest)))
|
||||
:body (when-let ((category (org-get-category (point))))
|
||||
(cl-typecase categories
|
||||
(null t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue