Skip to content

Commit efd1636

Browse files
authored
Remove verbose description about js2-mode
> `js2-mode` now derives from `js-mode`. That means the former function will run `js-mode-hook`, as well as `js2-mode-hook`. Please see <https://github.com/mooz/js2-mode/blob/5cb52a7de8218bb2d50f67ba422fa7b2d51d1dc6/NEWS.md#20150909>.
1 parent 6f7801b commit efd1636

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@ To automatically run it when opening a new buffer:
1313
```
1414
(eval-after-load 'js-mode
1515
'(add-hook 'js-mode-hook #'add-node-modules-path))
16-
17-
(eval-after-load 'js2-mode
18-
'(add-hook 'js2-mode-hook #'add-node-modules-path))
1916
```

0 commit comments

Comments
 (0)