diff options
| author | Stefan Monnier | 2023-03-09 16:19:16 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2023-03-09 16:19:16 -0500 |
| commit | 8ee205d232574e12921b052c7e93b7e16d6f1187 (patch) | |
| tree | e83ef8d82f783e75fbfd2659a71a50a25976d7dd /java | |
| parent | 26740f30469c2b13765f986fa65eca8a3a851ba2 (diff) | |
| download | emacs-8ee205d232574e12921b052c7e93b7e16d6f1187.tar.gz emacs-8ee205d232574e12921b052c7e93b7e16d6f1187.zip | |
gud.el: Bring back the pseudo-tool-bar in text frames (bug#62041)
commit 8bb5c1bfec0929f2ba419e1c503f5acc01c336c2 accidentally
threw away the pseudo-tool-bar implemented in the text frames'
menu-bar of gud-minor-mode buffers.
Bring it back, and while we're at it, improve it so it also works
right when you have both text and GUI frames.
Also fix a misunderstanding in last change (`gud-mode-map` does need
to have a Gud menu, because `gud-mode` buffers already have it by
virtue of being in `gud-minor-mode` as well).
* lisp/progmodes/gud.el (gud-text-menu-bar-map): New keymap.
(gud-menu-mode-map): Rename from `gud-shared-mode-map`.
(gud-menu-map): Adjust accordingly.
(gud-minor-mode-map): Use them.
(gud-mode-map): Don't inherit from the shared/menu keymap.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions