From: john muhl Date: Mon, 24 Feb 2025 02:03:39 +0000 (-0600) Subject: ; Fix 'typescript-ts-mode' indent test (bug#71998) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a2e5b9132453f23faeb6ece879387d33f531846e;p=emacs.git ; Fix 'typescript-ts-mode' indent test (bug#71998) * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Set 'indent-tabs-mode' after changing the major mode. (cherry picked from commit c9964e180f743a95579ca832d08bfc450a2dc639) --- diff --git a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts index 23cebb4c396..0db35295222 100644 --- a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts +++ b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts @@ -95,9 +95,9 @@ const foo = () => { Code: (lambda () - (setq indent-tabs-mode nil) (setq tsx-ts-mode-indent-offset 2) (tsx-ts-mode) + (setq indent-tabs-mode nil) (indent-region (point-min) (point-max))) Name: JSX indentation