branch: externals/denote
commit 2338ee469808a7d67db3908b658d41cbca47d609
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Refine how identifier is retrieved from file names
---
 denote-link.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-link.el b/denote-link.el
index e638fc2595..57ab0f73d0 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -190,7 +190,7 @@ PROOF-OF-CONCEPT."
   (interactive)
   (let* ((default-directory (denote-directory))
          (file (file-name-nondirectory (buffer-file-name)))
-         (id (denote-retrieve--value file denote-retrieve--identifier-regexp))
+         (id (denote-retrieve--filename-identifier file))
          (buf (format "*denote-backlinks to %s*" id)))
   (compilation-start
    (format "find * -type f -exec %s --color=auto -l -m 1 -e %s %s %s"

Reply via email to