Bläddra i källkod

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 2 månader sedan
förälder
incheckning
4d0264b34b
Ingen känd nyckel hittad för denna signaturen i databasen
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      init.el

+ 1
- 1
init.el Visa fil

@@ -923,7 +923,7 @@
923 923
   :commands (org-store-link))
924 924
 
925 925
 (use-package org-id
926
-  :custom (org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id))
926
+  :custom (org-id-link-to-org-use-id t))
927 927
 
928 928
 (use-package org-clock
929 929
   :commands (org-clock-save)

Laddar…
Avbryt
Spara