branch: externals/devdocs
commit cfe1c60c23347eccabdf027f8b9f29f7ea8b91eb
Author: Daniel Nagy <danieln...@posteo.de>
Commit: GitHub <nore...@github.com>

    Assign list-buffers-directory to the entry name
    
    This displays the entry name in `M-x list-buffers` instead of showing an
    empty path column.
---
 devdocs.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devdocs.el b/devdocs.el
index ac6a4a6eb2..364ed191f1 100644
--- a/devdocs.el
+++ b/devdocs.el
@@ -467,6 +467,7 @@ fragment part of ENTRY.path."
       (set-buffer-modified-p nil)
       (setq-local devdocs-current-docs (list .doc.slug))
       (push entry devdocs--stack)
+      (setq-local list-buffers-directory (format-mode-line devdocs-header-line 
nil nil (current-buffer)))
       (devdocs-goto-target)
       (current-buffer))))
 

Reply via email to