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

    Apply to denote-get-link-face the same change as commit da64be1
    
    The commit da64be1 was done by TomoeMami in pull request 578:
    <https://github.com/protesilaos/denote/pull/578>.
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 2fa1c83d3a..79021747ce 100644
--- a/denote.el
+++ b/denote.el
@@ -5667,7 +5667,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))
 

Reply via email to