Document denote-org-store-link-to-heading "local" value in the manual

This was introduced by Michael Korat in commit 9a354e4 as part of pull
request 723: <https://github.com/protesilaos/denote/pull/723>.
This commit is contained in:
Protesilaos 2026-08-23 13:31:39 +03:00
parent b90b26e938
commit 27cdd67b68
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 10 additions and 2 deletions

View file

@ -3414,9 +3414,16 @@ and the text of the current heading, like this:
: [[denote:20240118T060608::*Heading text][Some test::Heading text]]. : [[denote:20240118T060608::*Heading text][Some test::Heading text]].
If the value is ~local~, the link consists of the text of the current
heading, like this:
: [[*Heading text][Heading text]].
[ The ~local~ option is part of {{{development-version}}}. ]
However, if there already exists a =CUSTOM_ID= property for the However, if there already exists a =CUSTOM_ID= property for the
current heading, this is always given priority and is used instead of current heading, this is always given priority and is used instead of
the context. the context or local heading.
If the value is ~id~ or, for backward-compatibility, any other non-nil If the value is ~id~ or, for backward-compatibility, any other non-nil
value, then Denote will use the standard Org mechanism of the value, then Denote will use the standard Org mechanism of the

View file

@ -485,7 +485,8 @@ and the text of the current heading, like this:
[[denote:20240118T060608::*Heading text][Some test::Heading text]]. [[denote:20240118T060608::*Heading text][Some test::Heading text]].
If the value is `local', the link consists of the text of the current heading, like this: If the value is `local', the link consists of the text of the current
heading, like this:
[[*Heading text][Heading text]]. [[*Heading text][Heading text]].