On Wed, Jul 20, 2022 at 4:07 AM Uwe Brauer <o...@mat.ucm.es> wrote:

> 2. Second code
>
> (defun test/set-property-at-heading ()
>   "Function to be called at the beginning of an Org heading."
>   (interactive)
>   (let ((el (org-element-at-point)))
>         ^el is defined but not used.
>     (org-set-property "New" "[ ]")))
> (org-map-entries #'test/set-property-at-heading)
>

Correct. The el variable is not required here. It's a relic from the
previous version of that function.


> A.11 Using the Mapping API
> > A.10 Using the Property API
>
> Is this a reference to the manual?
>

Yes. You can access those from within Emacs as Info manuals:

- (org) Using the Mapping API - online
<https://orgmode.org/manual/Using-the-Mapping-API.html>
- (org) Using the Property API - online
<https://orgmode.org/manual/Using-the-Property-API.html>

Reply via email to