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.
Cette révision appartient à :
Daniel - 2021-03-28 17:38:18 +02:00
Parent 96638b09e4
révision 4d0264b34b
Signature inconnue de Gitea
ID de la clé GPG: 1C7071A75BB72D64
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

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