branch: externals/denote commit 2344264c8d570205c85fa2fbaa0d61cf488d8b83 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Make small changes to the denote-link docs --- README.org | 5 +++-- denote.el | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 08d87764a3..77d20c01ba 100644 --- a/README.org +++ b/README.org @@ -2697,8 +2697,9 @@ By default, the description of the link is determined thus: and so the link is formatted the same way as if using the =C-u= prefix argument. - If there is no region active, the description consists of the target - file's signature and title ([[#h:066e5221-9844-474b-8858-398398646f86][Insert link to file with signature]]). The - title is retrieved either from the front matter or the file name. + file's signature and title, using the former only if it is present. + The title is retrieved either from the front matter or the file + name. - If the target file has no signature, the title is used. Links are created only for files which qualify as a "note" for our diff --git a/denote.el b/denote.el index c20f430694..22814425e5 100644 --- a/denote.el +++ b/denote.el @@ -4507,7 +4507,7 @@ determine the format of the link. Return the DESCRIPTION of the link in the format specified by `denote-link-description-format'. The default is to return the text of -the active region or the title of the note (with the signature if +the active region or the title of the note (plus the signature if present). With optional ID-ONLY as a non-nil argument, such as with a universal