Hello,

I have a problem with the function org-store-link it doesn't work as
described in the documentation:
https://orgmode.org/manual/Handling-Links.html
"For Org files, if there is a '<<target>>' at point, the link points to
the target."

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.

Also:
https://emacs.stackexchange.com/questions/64693/make-link-using-the-target-at-point-and-ignore-the-id-or-custom-id

Kind regards

Frank

EmacsĀ  : GNU Emacs 27.2
Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)