Created
November 7, 2019 00:26
-
-
Save nfedyashev/6b94cb70c6c418b05486a302a7dc4510 to your computer and use it in GitHub Desktop.
loop through all outline headings in the current file and add an ID if there's not already one there:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'org-id) | |
(save-excursion | |
(goto-char (point-max)) | |
(while (outline-previous-heading) | |
(org-id-get-create))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment