I work on an open source project where the creator sets his tab-indents to 2 spaces.
I\'d like to just enable it on the fly for the one file I work on and not other fil
You can make the variable js-indent-level local to the buffer using:
js-indent-level
M-x make-variable-buffer-local js-indent-level
Then you can set that variable in the buffer using:
M-x set-variable js-indent-level 2