From 3052cbb07875ca523c318048530eebf80eb2c48f Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 9 Dec 2020 18:42:36 +0100 Subject: [PATCH] Include the keymap in the gud-mode doc string * lisp/progmodes/gud.el (gud-mode): Add the gud keymap to the end of the doc string for easier access (bug#31406). --- lisp/progmodes/gud.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index cee0961013a..134c2fc5c97 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -2566,7 +2566,11 @@ You may use the `gud-def' macro in the initialization hook to define other commands. Other commands for interacting with the debugger process are inherited from -comint mode, which see." +`comint-mode', which see. + +Commands: + +\\{gud-mode-map}" (setq mode-line-process '(":%s")) (define-key (current-local-map) "\C-c\C-l" 'gud-refresh) (setq-local gud-last-frame nil) -- 2.39.2