From dbfa4e9b460f885153e0ecca217835f0d45021e7 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 26 Jun 2025 14:17:09 +0200 Subject: [PATCH] Support 's' in 'C-h m' help buffers --- lisp/help-fns.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 5610c8dce5b..2ef7be9256e 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -2281,7 +2281,9 @@ is enabled in the Help buffer." (help-fns-short-filename file-name) (lambda (_) (help-function-def--button-function - major file-name)))))) + major file-name))))) + (setq help-mode--current-data (list :symbol major + :file file-name))) (insert (help-split-fundoc (documentation major) nil 'doc) (with-current-buffer buffer (help-fns--list-local-commands))) -- 2.39.5