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)))