commit 6633d82c6e3c921c486ec284cb6542f33278b605
parent cb9beb0bd6857d9262c935e42a9346331cee4c45
Author: Daniel Nagy <danielnagy@posteo.de>
Date: Tue, 6 Jul 2021 20:29:38 +0200
Assign `list-buffers-directory` to help topic
This displays the help topic in `M-x list-buffers` instead of showing an
empty path column.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -149,6 +149,8 @@ can make Helpful very slow.")
(setq helpful--callable-p callable-p)
(setq helpful--start-buffer current-buffer)
(setq helpful--associated-buffer current-buffer)
+ (setq list-buffers-directory
+ (if (symbolp symbol) (format "%s: %s" (helpful--kind-name symbol callable-p) symbol) "lambda"))
(if (helpful--primitive-p symbol callable-p)
(setq-local comment-start "//")
(setq-local comment-start ";")))