Add: src predicate

This commit is contained in:
Adam Porter 2019-10-09 13:10:40 -05:00
parent a60c238417
commit 37ba30c969
4 changed files with 80 additions and 16 deletions

View file

@ -410,6 +410,10 @@ Arguments are listed next to predicate names, where applicable.
Return non-nil if current entry matches all of REGEXPS (regexp
strings). Matches against entire entry, from beginning of its
heading to the next heading.
src (&optional lang regexps)
Return non-nil if current entry contains an Org Babel source block.
If LANG is non-nil, match blocks of that language. If REGEXPS
is non-nil, require that blocks contents match all regexps.
tags (&optional tags)
Return non-nil if current heading has one or more of TAGS (a list
of strings). Tests both inherited and local tags.
@ -700,6 +704,7 @@ File: README.info, Node: 04-pre, Next: 03, Up: Changelog
for custom Helm commands that search certain files.
• Command helm-org-ql-views, which shows one of org-ql-views
selected with Helm.
• Predicate src, which matches Org Babel source blocks.
*Internal*
• Added generic node data cache to speed up recursive, tree-based
@ -963,22 +968,22 @@ Node: org-ql-sparse-tree6921
Node: Queries7721
Node: Non-sexp query syntax8563
Node: Predicates10063
Node: Date/time predicates14920
Node: Functions / Macros17555
Node: Agenda-like views17742
Node: Listing / acting-on results19147
Node: Changelog23749
Node: 04-pre24256
Node: 0325132
Node: 02328108
Node: 02228334
Node: 02128600
Node: 0228797
Node: 0132830
Node: Notes32929
Node: Comparison with Org Agenda searches33091
Node: org-sidebar33962
Node: License34241
Node: Date/time predicates15182
Node: Functions / Macros17817
Node: Agenda-like views18004
Node: Listing / acting-on results19409
Node: Changelog24011
Node: 04-pre24518
Node: 0325461
Node: 02328437
Node: 02228663
Node: 02128929
Node: 0229126
Node: 0133159
Node: Notes33258
Node: Comparison with Org Agenda searches33420
Node: org-sidebar34291
Node: License34570

End Tag Table