diff options
author | Brian Leung <leungbk@mailfence.com> | 2021-07-19 23:41:01 -0700 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2021-07-28 00:13:40 +0300 |
commit | 29d62099957b2269c2505be3a9059c88d2d71881 (patch) | |
tree | f24050e3043dfaa5fbb461fce4037e7e861ef203 /lisp/emacs-lisp/bindat.el | |
parent | 30bd6a50aa4cf1cb486b40876fd42bd5da74e77a (diff) | |
download | emacs-29d62099957b2269c2505be3a9059c88d2d71881.tar.gz emacs-29d62099957b2269c2505be3a9059c88d2d71881.tar.bz2 emacs-29d62099957b2269c2505be3a9059c88d2d71881.zip |
Ensure that gud commands for M-x gdb are handled by repeat-mode
* lisp/progmodes/gud.el (gud-gdb-repeat-map): Rename from
gud-repeat-map, and populate at the top-level.
(gud-set-repeat-map-property): Introduce this helper function for
setting the repeat-map property.
(gud-gdb): Use the gud-set-repeat-map-property function to assign the
repeat-map property.
* lisp/progmodes/gdb-mi.el (gdb): Use the gud-set-repeat-map-property
function to assign the repeat-map property.
Because different debugging tools may not support all of the gud-foo
functions, we reassign the repeat-map property within the respective
commands, as opposed to the top level of the files, to ensure that the
repeat-map property is reassigned each time to a symbol corresponding
to the active debugging tool. (Bug#49632)
Diffstat (limited to 'lisp/emacs-lisp/bindat.el')
0 files changed, 0 insertions, 0 deletions