2. Second code
(defun test/set-property-at-heading ()
"Function to be called at the beginning of an Org heading."
(let ((el (org-element-at-point)))
^el is defined but not used.
(org-set-property "New" "[ ]")))
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
- (org) Using the Property API - online