branch: externals/denote commit 5f8b58534921efb31c5557dd2528f4a304ef0740 Merge: 554859c0c8 2193501cef Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Merge branch 'main' into subdir-support --- README.org | 7 +++++-- denote-link.el | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index ed1247062d..b03068261a 100644 --- a/README.org +++ b/README.org @@ -647,9 +647,12 @@ When ~denote-link~ is called with a prefix argument (=C-u= by default) it formats links like =[[denote:IDENTIFIER]]=. The user might prefer its simplicity. +[ Default value of ~denote-link-use-org-id~ changed as part of + {{{development-version}}} ] + #+vindex: denote-link-use-org-id -When the user option ~denote-link-use-org-id~ is set to non-nil (default -is nil), inserted links in Org notes that target other Org notes will +When the user option ~denote-link-use-org-id~ is set to non-nil (the +default), inserted links in Org notes that target other Org notes will use the standard =id:= type so the format is =[[id:IDENTIFIER][TITLE]]= (the title is omitted is ~denote-link~ is called with a prefix argument, as explained above). When, however, an Org note links to a note in diff --git a/denote-link.el b/denote-link.el index 7cf4ded930..b1c97959f2 100644 --- a/denote-link.el +++ b/denote-link.el @@ -200,8 +200,8 @@ and/or the documentation string of `display-buffer'." alist) :group 'denote-link) -(defcustom denote-link-use-org-id nil - "When non-nil use the ID link type in Org files if appropriate. +(defcustom denote-link-use-org-id t + "When non-nil use the ID link type in Org files, if appropriate. Newly created links from Org notes which target other Org notes will use the standard `id:' hyperlink type instead of the custom @@ -213,9 +213,9 @@ other tools in the Org ecosystem. When the value is nil, Denote links rely on the custom `denote:' hyperlink type (which should behave the same as the standard -`file:' type). +`file:' link). -Other files types beside Org always use the `denote:' links." +Other file types beside Org always use the `denote:' links." :type 'boolean :group 'denote-link) ;;;###autoload (put 'denote-link-use-org-id 'safe-local-variable 'booleanp)