[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-set-properties for various (all) headings

From: Kaushal Modi
Subject: Re: org-set-properties for various (all) headings
Date: Wed, 20 Jul 2022 09:00:51 -0400

On Wed, Jul 20, 2022 at 4:07 AM Uwe Brauer <oub@mat.ucm.es> wrote:
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" "[ ]")))
(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
- (org) Using the Property API - online

reply via email to

[Prev in Thread] Current Thread [Next in Thread]