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

    Use split-string instead of string-split
    
    The latter is an alias introduced in Emacs 29. We do not want to
    depend on Emacs 29 for something like this.
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 2132b4e1ea..2da702e1b6 100644
--- a/denote.el
+++ b/denote.el
@@ -2783,7 +2783,7 @@ If FILES is not given, use all text files as returned by
       (let* ((backlinks-by-file-type (denote--get-files-by-file-type 
backlinks)))
         (dolist (file-type file-types)
           (when-let* ((current-backlinks (gethash file-type 
backlinks-by-file-type))
-                      (format-parts (string-split
+                      (format-parts (split-string
                                      (denote--link-retrieval-format file-type)
                                      "%VALUE%")) ; Should give two parts
                       (query-simple (concat

Reply via email to