; * lisp/progmodes/gud.el (gud-tooltip-modes): Add ts- modes.

Prompted by bug#60463.
This commit is contained in:
Yuan Fu 2023-01-07 16:54:43 -08:00
parent 16f1e47ca8
commit cc1de953d4
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -3608,8 +3608,9 @@ Treats actions as defuns."
(kill-local-variable 'gdb-define-alist) (kill-local-variable 'gdb-define-alist)
(remove-hook 'after-save-hook #'gdb-create-define-alist t)))) (remove-hook 'after-save-hook #'gdb-create-define-alist t))))
(defcustom gud-tooltip-modes '(gud-mode c-mode c++-mode fortran-mode (defcustom gud-tooltip-modes '( gud-mode c-mode c++-mode fortran-mode
python-mode) python-mode c-ts-mode c++-ts-mode
python-ts-mode)
"List of modes for which to enable GUD tooltips." "List of modes for which to enable GUD tooltips."
:type '(repeat (symbol :tag "Major mode")) :type '(repeat (symbol :tag "Major mode"))
:group 'tooltip) :group 'tooltip)