From 4d0264b34b49b5303d073357877f7c9b7d26d131 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 28 Mar 2021 17:38:18 +0200 Subject: [PATCH] Always create ID properties when creating links This avoids headline-references (as opposed to referencing IDs) when implicitly creating links in new items through `org-capture` when already in `org-capture`. In that case, the %a template specifier will call `org-store-link` non-interactively (as it seems) and the old setting of `org-id-link-to-org-use-id` created links based to the headline of the target instead of creating a new ID property. Note that this will also always ignore CUSTOM_ID properties, but I haven't used it anyway. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 85bf959..9b3842d 100644 --- a/init.el +++ b/init.el @@ -923,7 +923,7 @@ :commands (org-store-link)) (use-package org-id - :custom (org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id)) + :custom (org-id-link-to-org-use-id t)) (use-package org-clock :commands (org-clock-save)