]> git.earman.xyz Git - emacsinit.git/commitdiff
Disable auto-creation of org-ids
authorrearman <rearman@r717.net>
Tue, 4 Jun 2024 15:54:09 +0000 (11:54 -0400)
committerrearman <rearman@r717.net>
Tue, 4 Jun 2024 15:54:09 +0000 (11:54 -0400)
init.org

index 83dd99fe0c638666746d6188ec6bc5cdd839f83a..439e1afefb660af976fd2685df16707017144aaa 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1620,7 +1620,7 @@ Also add that defun to =safe-local-variables= so that emacs will run it.
 :PROPERTIES:
 :ID:       b40f11e3-8569-4fcd-b083-f1b682f23dc1
 :END:
-Generate an ID when I capture someting, and when I try to link to it.  Stolen from [[https://stackoverflow.com/questions/13340616/assign-ids-to-every-entry-in-org-mode][Stack Overflow]]
+Generate an ID when I capture someting, and when I try to link to it.
 #+BEGIN_SRC emacs-lisp
 (setq org-id-link-to-org-use-id t)
 #+END_SRC
@@ -1639,7 +1639,7 @@ Automatically generate unique IDs if not already created.  Stolen from [[https:/
 #+END_SRC
 
 Run this on save of any org-mode file
-#+BEGIN_SRC emacs-lisp
+#+BEGIN_SRC emacs-lisp :tangle no
 (add-hook 'org-mode-hook
           (lambda ()
             (add-hook 'before-save-hook 're/org-auto-generate-ids-in-file nil 'local)))