Skip to content

Commit cf6d9d9

Browse files
authored
Update readme as per latest lsp.el
1 parent af00669 commit cf6d9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ maintained repos - [MELPA Stable](http://stable.melpa.org) and [MELPA](http://me
3636
Then add the following lines to your `.emacs` and open a file from the any of the specified projects.
3737
```emacs-lisp
3838
(require 'lsp-java)
39-
(add-hook 'java-mode-hook #'lsp-java-enable)
39+
(add-hook 'java-mode-hook #'lsp)
4040
```
4141
### [Eclipse JDT Language Server](https://projects.eclipse.org/projects/eclipse.jdt.ls)
4242

0 commit comments

Comments
 (0)