branch: externals/denote commit 54d99463336927b17b099d38464d02f98af2f6da Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Use the new function to get the common root in the manual's sample code --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index a1d800a847..db8f999d48 100644 --- a/README.org +++ b/README.org @@ -4206,7 +4206,7 @@ Empty files are those that satisfy `my-denote--note-has-no-contents-p'." empty-files))))) (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 files-matching-regexp)) (buffer-name (funcall denote-sort-dired-buffer-name-function (format "%s (EMPTY)" files-matching-regexp) sort-by-component reverse-sort exclude-regexp))) @@ -4227,7 +4227,7 @@ Empty files are those that satisfy `my-denote--note-has-no-contents-p'." empty-files))))) (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 files-matching-regexp)) (buffer-name (funcall denote-sort-dired-buffer-name-function (format "%s (OMIT EMPTY)" files-matching-regexp) sort-by-component reverse-sort exclude-regexp)))