]> git.earman.xyz Git - emacsinit.git/commitdiff
Better handle when to create org links
authorrearman <rearman@r717.net>
Wed, 5 Jun 2024 16:02:26 +0000 (12:02 -0400)
committerrearman <rearman@r717.net>
Wed, 5 Jun 2024 16:02:26 +0000 (12:02 -0400)
init.org

index 853faf8e627a7bef2e6926808e371879fc822f31..48dfa5eb193ea70cf3de7de46d9d508d2d133406 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1281,7 +1281,7 @@ Also add that defun to =safe-local-variables= so that emacs will run it.
 **** On Capture
 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)
+(setq org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id)
 #+END_SRC
 
 **** Existing File