1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 03:10:58 -08:00

; * lisp/progmodes/c-ts-mode.el: Change rx to regexp-opt.

This commit is contained in:
Yuan Fu 2022-12-01 18:57:54 -08:00
parent 3bccef6f52
commit 16e68e64f9
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -525,7 +525,7 @@ the subtrees."
;; Navigation. ;; Navigation.
(setq-local treesit-defun-type-regexp (setq-local treesit-defun-type-regexp
(rx (or "function_definition" (regexp-opt '("function_definition"
"type_definition" "type_definition"
"struct_specifier" "struct_specifier"
"enum_specifier" "enum_specifier"