branch: externals/denote-sequence
commit 57006c46df7a793fe92248516f364f31ac6357e8
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Use the new denote-directories-get-common-root function
    
    This is the right way, instead of relying on private functions.
---
 denote-sequence.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-sequence.el b/denote-sequence.el
index d6e627bcd7..fdfd8a39db 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -1036,7 +1036,7 @@ For a more specialised case, see 
`denote-sequence-find-relatives-dired'."
                                 files-sorted)))))
     (if-let* ((directory (if relative-p ; see comment in `denote-file-prompt'
                              (car (denote-directories))
-                           (denote-sort-dired--find-common-directory 
(denote-directories))))
+                           (denote-directories-get-common-root)))
               (files (funcall files-fn))
               (dired-name (format-message "prefix `%s'; depth `%s'" (or prefix 
"ALL") (or depth "ALL")))
               (buffer-name dired-name))

Reply via email to