From: Lars Ingebrigtsen Date: Wed, 9 Dec 2020 17:42:36 +0000 (+0100) Subject: Include the keymap in the gud-mode doc string X-Git-Tag: emacs-28.0.90~4812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3052cbb07875ca523c318048530eebf80eb2c48f;p=emacs.git 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). --- 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)