branch: externals/denote-sequence
commit 077b1a6b7a82b36391a59639455a74646f10f3dd
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Update denote-directories-get-common-root to not get an argument, per 
latest denote.git
---
 denote-sequence.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote-sequence.el b/denote-sequence.el
index 1888effb51..f57160fd3f 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -852,7 +852,7 @@ completion candidates.  Else use 
`denote-sequence-get-all-files'."
          ;; relative file paths of the completion candidates.
          (default-directory (if single-dir-p
                                 (car roots)
-                              (denote-directories-get-common-root roots))))
+                              (denote-directories-get-common-root))))
     (if-let* ((files (or files-with-sequences (denote-sequence-get-all-files)))
               (relative-files (if single-dir-p
                                   (mapcar 
#'denote-get-file-name-relative-to-denote-directory files)
@@ -1171,7 +1171,7 @@ For a more specialised case, see 
`denote-sequence-find-relatives-dired'."
                          files-sorted)))))
     (if-let* ((directory (if single-dir-p
                              (car roots)
-                           (denote-directories-get-common-root roots)))
+                           (denote-directories-get-common-root)))
               (files (funcall files-fn))
               (dired-name (denote-format-buffer-name
                            (format-message "prefix `%s'; depth `%s'" (or 
prefix "ALL") (or depth "ALL"))

Reply via email to