[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 468a4840e4: Fix regression in denote-ol-store-li
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 468a4840e4: Fix regression in denote-ol-store-link |
Date: |
Wed, 28 Sep 2022 05:57:30 -0400 (EDT) |
branch: externals/denote
commit 468a4840e41804066da206cc350027a543009db3
Author: Marc Fargas <marc@marcfargas.com>
Commit: Protesilaos Stavrou <info@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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/denote 468a4840e4: Fix regression in denote-ol-store-link,
ELPA Syncer <=