added customizations to js-mode (javascript-mode)

This commit is contained in:
2011-11-09 13:36:58 +00:00
parent 761d2a4f7f
commit a783d7e1b6
2 changed files with 5 additions and 0 deletions

4
languages/javascript.el Normal file
View File

@@ -0,0 +1,4 @@
(add-hook 'js-mode-hook
(lambda ()
(fci-mode)
(setq tab-width 2)))