branch: externals/denote commit 468a4840e41804066da206cc350027a543009db3 Author: Marc Fargas <m...@marcfargas.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Fix regression in denote-ol-store-link Introduced by 3f47374. `org-link-store` functions should return `nil` when not handling the current buffer but the current code always returns `org-store-link-plist`. We simply move a parenthesis so that when the `when-let*` aborts we return `nil`, which was the previous behaviour. --- denote.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/denote.el b/denote.el index 59485c5d52..f96cd770bb 100644 --- a/denote.el +++ b/denote.el @@ -2595,8 +2595,8 @@ interface by first selecting the `denote:' hyperlink type." (org-link-store-props :type "denote" :description file-title - :link (concat "denote:" file-id))) - org-store-link-plist) + :link (concat "denote:" file-id)) + org-store-link-plist)) (defun denote-link-ol-export (link description format) "Export a `denote:' link from Org files.