mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
indent.erts (Code): Don't modify the global state
* test/lisp/progmodes/java-ts-mode-resources/indent.erts (Code): Use `setq-local` and correspondingly move the remaining assignment after activating the major mode.
This commit is contained in:
parent
beeece4712
commit
5432331a62
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
Code:
|
Code:
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq java-ts-mode-indent-offset 4)
|
|
||||||
(java-ts-mode)
|
(java-ts-mode)
|
||||||
(setq indent-tabs-mode nil)
|
(setq-local java-ts-mode-indent-offset 4)
|
||||||
|
(setq-local indent-tabs-mode nil)
|
||||||
(indent-region (point-min) (point-max)))
|
(indent-region (point-min) (point-max)))
|
||||||
|
|
||||||
Point-Char: |
|
Point-Char: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue