Fr Ml <fr...@t-online.de> writes: > If the cursor is on a <<target>> and the item has a CUSTOM_ID then a > link to the headline (with the CUSTOM_ID) is stored - and not the link to the > target. > This behavior is not always the same.
Confirmed on master. Recipe: 1. Create the following org file: * test :PROPERTIES: :CUSTOM_ID: testasd :END: <<targetasd>> 2. Put point at the target 3. org-store-link 4. org-insert-link 5. The inserted link is pointing to the custom ID [[#testasd][file:/tmp/4.org::targetasd]] Best, Ihor