From a7b0b20c1bc758fa99fda96d06a266868aec3eea Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 28 Nov 2022 21:19:22 +0200 Subject: [PATCH] Fix GUD item on the menu bar in source buffers * lisp/progmodes/gud.el (alist-get): Restore gud-minor-mode menu on the menu bar. (Bug#59605) --- lisp/progmodes/gud.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 9b7d7a05353..6ffcf497b93 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -250,6 +250,9 @@ Used to gray out relevant toolbar icons.") :button (:toggle . gud-tooltip-mode)] ["Info (debugger)" gud-goto-info])) +(setf (alist-get 'gud-minor-mode minor-mode-map-alist) + gud-minor-mode-map) + (defvar gud-tool-bar-map (let ((map (make-sparse-keymap))) (dolist (x '((gud-break . "gud/break") -- 2.39.5