diff options
Diffstat (limited to 'test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts')
-rw-r--r-- | test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts b/test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts index 07698077ffc..74e34fe821b 100644 --- a/test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts +++ b/test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts @@ -1,9 +1,9 @@ Code: (lambda () - (setq indent-tabs-mode nil) - (setq c-ts-mode-indent-offset 2) - (setq c-ts-mode-indent-style 'bsd) (c-ts-mode) + (setq-local indent-tabs-mode nil) + (setq-local c-ts-mode-indent-offset 2) + (c-ts-mode-set-style 'bsd) (indent-region (point-min) (point-max))) Point-Char: | |