]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind TAB not <tab> in M-x lldb
authorGerd Möllmann <gerd@gnu.org>
Wed, 7 Aug 2024 09:38:48 +0000 (11:38 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 11 Aug 2024 07:28:54 +0000 (09:28 +0200)
* lisp/progmodes/gud.el (lldb): Bind TAB not <tab> so that it also works
on terminals.

(cherry picked from commit 2b087abdbb99fee2a670896fb34c666199e9ba84)

lisp/progmodes/gud.el

index 7486804da1b40705c8ee4aa8d39be62de531c0f3..53a7d78328c8e8fd6a504328465e3848d056966c 100644 (file)
@@ -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 "<tab>" #'completion-at-point)
+  ;; Bind TAB not <tab> 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)))