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.
This commit is contained in:
Daniel - 2021-03-28 17:38:18 +02:00
rodzic 96638b09e4
commit 4d0264b34b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 1C7071A75BB72D64
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)