From 4753b587868230fc368c7247c4ec063771a4f5a8 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 5 Jan 2023 20:18:11 +0200 Subject: [PATCH] * lisp/cedet/semantic/symref/grep.el: Support ts-modes (bug#60525) (semantic-symref-filepattern-alist): Duplicate entries c-mode -> c-ts-mode, c++-mode -> c++-ts-mode, ruby-mode -> ruby-ts-mode, python-mode -> python-ts-mode. --- lisp/cedet/semantic/symref/grep.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/cedet/semantic/symref/grep.el b/lisp/cedet/semantic/symref/grep.el index c698c2ef5a2..cebeac3adca 100644 --- a/lisp/cedet/semantic/symref/grep.el +++ b/lisp/cedet/semantic/symref/grep.el @@ -44,7 +44,9 @@ those hits returned.") (defvar semantic-symref-filepattern-alist '((c-mode "*.[ch]") + (c-ts-mode "*.[ch]") (c++-mode "*.[chCH]" "*.[ch]pp" "*.cc" "*.hh") + (c++-ts-mode "*.[chCH]" "*.[ch]pp" "*.cc" "*.hh") (html-mode "*.html" "*.shtml" "*.php") (mhtml-mode "*.html" "*.shtml" "*.php") ; FIXME: remove ; duplication of @@ -53,7 +55,10 @@ those hits returned.") ; major mode definition? (ruby-mode "*.r[bu]" "*.rake" "*.gemspec" "*.erb" "*.haml" "Rakefile" "Thorfile" "Capfile" "Guardfile" "Vagrantfile") + (ruby-ts-mode "*.r[bu]" "*.rake" "*.gemspec" "*.erb" "*.haml" + "Rakefile" "Thorfile" "Capfile" "Guardfile" "Vagrantfile") (python-mode "*.py" "*.pyi" "*.pyw") + (python-ts-mode "*.py" "*.pyi" "*.pyw") (perl-mode "*.pl" "*.PL") (cperl-mode "*.pl" "*.PL") (lisp-interaction-mode "*.el" "*.ede" ".emacs" "_emacs") -- 2.39.5