Browse Source

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.
master
Daniel Borchmann 1 year ago
parent
commit
4d0264b34b
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 2
      init.el

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

Loading…
Cancel
Save