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

    Make denote-sequence-dired name its buffer using denote-format-buffer-name
    
    This means that it gets the denote-buffer-name-prefix. We also add the
    asterisks around the name, which should have been there already.
---
 denote-sequence.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/denote-sequence.el b/denote-sequence.el
index b17a2e8281..5c655dfc24 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -1050,7 +1050,9 @@ For a more specialised case, see 
`denote-sequence-find-relatives-dired'."
                              (car (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")))
+              (dired-name (denote-format-buffer-name
+                           (format-message "prefix `%s'; depth `%s'" (or 
prefix "ALL") (or depth "ALL"))
+                           :is-special-buffer))
               (buffer-name dired-name))
         (denote-sort-dired--prepare-buffer directory files-fn dired-name 
buffer-name)
       (message "No matching files for: %s" files-matching-regexp))))

Reply via email to