branch: externals/denote
commit 242fb0f10056512b835273683473e48405c86d9c
Merge: e2b47e45bf 089cd57d40
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Merge branch 'main' of github.com:protesilaos/denote
---
 README.org | 10 +++++-----
 denote.el  |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.org b/README.org
index 76d86812de..985d32914d 100644
--- a/README.org
+++ b/README.org
@@ -6336,11 +6336,11 @@ Denote is meant to be a collective effort.  Every bit 
of help matters.
   Meyer, Laurent Gatto, Lucas Quintana, Maikol Solis, Marc Fargas,
   Matthew Lemon, Noboru Ota (nobiot), Norwid Behrnd, Octavian, Peter
   Prevos, Philip Kaludercic, Quiliro Ordóñez, Stephen R. Kifer, Stefan
-  Monnier, Stefan Thesing, Thibaut Benjamin, Tomasz Hołubowicz, Vedang
-  Manerikar, Wesley Harvey, Zhenxu Xu, arsaber101, bryanrinders,
-  eum3l, ezchi, jarofromel, leinfink (Henrik), l-o-l-h (Lincoln),
-  mattyonweb, maxbrieiev, mentalisttraceur, pmenair, relict007,
-  skissue.
+  Monnier, Stefan Thesing, Thibaut Benjamin, Tomasz Hołubowicz,
+  TomoeMami , Vedang Manerikar, Wesley Harvey, Zhenxu Xu, arsaber101,
+  bryanrinders, eum3l, ezchi, jarofromel, leinfink (Henrik), l-o-l-h
+  (Lincoln), mattyonweb, maxbrieiev, mentalisttraceur, pmenair,
+  relict007, skissue.
 
 + Ideas and/or user feedback :: Abin Simon, Aditya Yadav, Alan
   Schmitt, Aleksandr Vityazev, Alex Griffin, Alex Hirschfeld, Alexis
diff --git a/denote.el b/denote.el
index dcfef4868d..09a34d9cca 100644
--- a/denote.el
+++ b/denote.el
@@ -5672,7 +5672,7 @@ To be assigned to `markdown-follow-link-functions'."
 
 (defun denote-get-link-face (query)
   "Return appropriate face for QUERY."
-  (if (denote-identifier-p (string-trim-right query ":.*"))
+  (if (denote-identifier-p (string-trim-right query ":[^/]+.*"))
       'denote-faces-link
     'denote-faces-query-link))
 
@@ -6087,7 +6087,7 @@ query of file contents or file names (see the commands
 
 Uses the function `denote-directory' to establish the path to the file."
   (if-let* ((match (denote-link--ol-resolve-link-to-target link))
-            (_ (file-exists-p (string-trim-right match ":.*"))))
+            (_ (file-exists-p (string-trim-right match ":[^/]+.*"))))
       (org-link-open-as-file match nil)
     (denote--act-on-query-link match)))
 

Reply via email to