* lisp/help-fns.el (help-find-source): New function.
* lisp/help.el (help-map): Bind 'help-find-source' to C-h z.
(help-for-help): Add 'help-find-source'.
;; Return the text we displayed.
(buffer-string))))))
+;;;###autoload
+(defun help-find-source ()
+ "Switch to a buffer visiting the source of what is being described in *Help*."
+ (interactive)
+ (if-let ((help-buffer (get-buffer "*Help*")))
+ (with-current-buffer help-buffer
+ (help-view-source))
+ (error "No *Help* buffer found")))
+
;;;###autoload
(defun describe-command (command)
"Display the full documentation of COMMAND (a symbol).
"R" #'info-display-manual
"s" #'describe-syntax
"t" #'help-with-tutorial
+ "4 s" #'help-find-source
"v" #'describe-variable
"w" #'where-is
"x" #'describe-command
"Search documentation of functions, variables, and other items")
("describe-command" "Show help for command")
("describe-function" "Show help for function")
+ ("help-find-source" "Show the source for what's being described in *Help*")
("describe-variable" "Show help for variable")
("describe-symbol" "Show help for function or variable"))
("Manuals"