[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 9b7eaad07e 2/3: Use new parameter to match only
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 9b7eaad07e 2/3: Use new parameter to match only Org files for heading backlinks (per b8d1ae3) |
Date: |
Sat, 11 May 2024 03:57:43 -0400 (EDT) |
branch: externals/denote
commit 9b7eaad07e6cf6add26807e0100d4bbe4a15a7d0
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use new parameter to match only Org files for heading backlinks (per
b8d1ae3)
---
denote-org-extras.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-org-extras.el b/denote-org-extras.el
index 31ac16ebee..3205d7426b 100644
--- a/denote-org-extras.el
+++ b/denote-org-extras.el
@@ -144,7 +144,7 @@ Also see `denote-org-extras-link-to-heading'."
(interactive)
(when-let ((heading-id (denote-org-extras--get-file-id-and-heading-id
buffer-file-name))
(heading-text (substring-no-properties
(denote-link-ol-get-heading))))
- (denote-link--prepare-backlinks heading-id
(denote-org-extras--get-backlinks-buffer-name heading-text))))
+ (denote-link--prepare-backlinks heading-id ".*\\.org"
(denote-org-extras--get-backlinks-buffer-name heading-text))))
;;;; Extract subtree into its own note