diff options
| author | Gerd Möllmann | 2024-08-07 11:38:48 +0200 |
|---|---|---|
| committer | Gerd Möllmann | 2024-08-07 11:38:48 +0200 |
| commit | 2b087abdbb99fee2a670896fb34c666199e9ba84 (patch) | |
| tree | 26eb69af99c7b0cb3bc03f6144d540b0a39a75ab | |
| parent | 153dc4bd1ddf3b70f19f6cceec0a98d710534c18 (diff) | |
| download | emacs-2b087abdbb99fee2a670896fb34c666199e9ba84.tar.gz emacs-2b087abdbb99fee2a670896fb34c666199e9ba84.zip | |
Bind TAB not <tab> in M-x lldb
* lisp/progmodes/gud.el (lldb): Bind TAB not <tab> so that it also works
on terminals.
| -rw-r--r-- | lisp/progmodes/gud.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 7486804da1b..53a7d78328c 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -4134,7 +4134,8 @@ This command runs functions from `lldb-mode-hook'." | |||
| 4134 | (add-hook 'completion-at-point-functions | 4134 | (add-hook 'completion-at-point-functions |
| 4135 | #'gud-lldb-completion-at-point | 4135 | #'gud-lldb-completion-at-point |
| 4136 | nil 'local) | 4136 | nil 'local) |
| 4137 | (keymap-local-set "<tab>" #'completion-at-point) | 4137 | ;; Bind TAB not <tab> so that it also works on ttys. |
| 4138 | (keymap-local-set "TAB" #'completion-at-point) | ||
| 4138 | 4139 | ||
| 4139 | (gud-set-repeat-map-property 'gud-gdb-repeat-map) | 4140 | (gud-set-repeat-map-property 'gud-gdb-repeat-map) |
| 4140 | (setq comint-prompt-regexp (rx line-start "(lldb)" (0+ blank))) | 4141 | (setq comint-prompt-regexp (rx line-start "(lldb)" (0+ blank))) |