Proofread defpred tutorial
This commit is contained in:
parent
a24de862ec
commit
58bf5dc0a3
1 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ Enter =org-ql= custom search predicates. Let's start simple, by defining a pred
|
|||
:body (property "person" name))
|
||||
#+END_SRC
|
||||
|
||||
Now let's see what results we get for searching this file for entries about Bob:
|
||||
Now, let's see what results we get for searching this file for entries about Bob:
|
||||
|
||||
#+BEGIN_SRC elisp :results list :exports both :cache yes
|
||||
(org-ql-query :select '(org-get-heading :no-tags)
|
||||
|
|
@ -77,7 +77,7 @@ Hmm, looks like we need to remind Bob to wash his mug and take some mints after
|
|||
|
||||
#+END_EXAMPLE
|
||||
|
||||
Nothing? Oh, right, Alice's entries use the ~:personAlice:~ tag, so we'll also need to also search those kind of entries. Let's make the predicate do that too:
|
||||
Nothing? Oh, right, Alice's entries use the ~:personAlice:~ tag, so we'll also need to search those kind of entries. Let's make the predicate do that, too:
|
||||
|
||||
#+BEGIN_SRC elisp :results silent :exports code
|
||||
(org-ql-defpred person (name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue