From 1220982759272139b85373b40a9e9e41eee36314 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 3 May 2022 16:33:30 -0700 Subject: [PATCH] put ids on every headline in org files --- emacs_el/configuration/don-configuration.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index fa43522..c1ee1c1 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -1849,9 +1849,9 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori (interactive) (org-map-entries '(lambda () (org-id-get-create t)))) ; if we wanted to do this to every buffer, do the following: - ; (add-hook 'org-mode-hook - ; (lambda () - ; (add-hook 'before-save-hook 'my/org-add-ids-to-headlines-in-file nil 'local))) + (add-hook 'org-mode-hook + (lambda () + (add-hook 'before-save-hook 'my/org-add-ids-to-headlines-in-file nil 'local))) #+END_SRC ** Org ID locations #+BEGIN_SRC emacs-lisp -- 2.39.5