[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 864c8013fd: Make `C-h m' actually output the documentation for th
From: |
Lars Ingebrigtsen |
Subject: |
master 864c8013fd: Make `C-h m' actually output the documentation for the major mode |
Date: |
Wed, 13 Apr 2022 17:31:15 -0400 (EDT) |
branch: master
commit 864c8013fdd0a548d98d81dd21af2f88f207858a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make `C-h m' actually output the documentation for the major mode
* lisp/help-fns.el (describe-mode): Get the documentation for the
correct major mode.
---
lisp/help-fns.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 5a38153aca..c06c0f3815 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1913,7 +1913,7 @@ documentation for the major and minor modes of that
buffer."
(lambda (_)
(help-function-def--button-function
major file-name))))))
- (insert (help-split-fundoc (documentation major-mode) nil 'doc)
+ (insert (help-split-fundoc (documentation major) nil 'doc)
(with-current-buffer buffer
(help-fns--list-local-commands)))
(ensure-empty-lines 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 864c8013fd: Make `C-h m' actually output the documentation for the major mode,
Lars Ingebrigtsen <=