From 366272c6afa37d01adb762caa0861fb2cb718652 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Wed, 7 Aug 2024 11:38:48 +0200 Subject: [PATCH] Bind TAB not in M-x lldb * lisp/progmodes/gud.el (lldb): Bind TAB not so that it also works on terminals. (cherry picked from commit 2b087abdbb99fee2a670896fb34c666199e9ba84) --- lisp/progmodes/gud.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'." (add-hook 'completion-at-point-functions #'gud-lldb-completion-at-point nil 'local) - (keymap-local-set "" #'completion-at-point) + ;; Bind TAB not so that it also works on ttys. + (keymap-local-set "TAB" #'completion-at-point) (gud-set-repeat-map-property 'gud-gdb-repeat-map) (setq comint-prompt-regexp (rx line-start "(lldb)" (0+ blank))) -- 2.39.2