From: Gerd Möllmann Date: Wed, 7 Aug 2024 09:38:48 +0000 (+0200) Subject: Bind TAB not in M-x lldb X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=366272c6afa37d01adb762caa0861fb2cb718652;p=emacs.git 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) --- 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)))