From 429bcdd9e28002478e81dfa257803ed432c5d360 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 21 Jun 2025 12:10:54 +0300 Subject: [PATCH] Fix setting custom 'c++-ts-mode' indent style * lisp/progmodes/c-ts-mode.el (c-ts-mode-set-style): Fix a typo. (Bug#78814) (cherry picked from commit e379f14193982ef500d8806386e26155ff780290) --- lisp/progmodes/c-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 7b40b4c73d3..0df9fe39e36 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -202,7 +202,7 @@ To set the default indent style globally, use (if (functionp style) (funcall style) (c-ts-mode--simple-indent-rules - (if (derived-mode-p 'c-ts-mode) 'c 'c++) + (if (derived-mode-p 'c-ts-mode) 'c 'cpp) style))))) (defcustom c-ts-mode-emacs-sources-support t -- 2.39.5