emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 6502817682 2/6: Make denote-link-find-file work


From: ELPA Syncer
Subject: [elpa] externals/denote 6502817682 2/6: Make denote-link-find-file work with plain links
Date: Sat, 16 Jul 2022 03:57:28 -0400 (EDT)

branch: externals/denote
commit 6502817682a73910793a70684474ca693daedb68
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make denote-link-find-file work with plain links
---
 denote-link.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/denote-link.el b/denote-link.el
index ae5d94dd48..5b93124469 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -258,7 +258,8 @@ format is always [[denote:IDENTIFIER]]."
   (let (matches)
     (save-excursion
       (goto-char (point-min))
-      (while (re-search-forward regexp nil t)
+      (while (or (re-search-forward regexp nil t)
+                 (re-search-forward denote-link--regexp-plain nil t))
         (push (match-string-no-properties 1) matches)))
     matches))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]