25 lines
486 B
Org Mode
25 lines
486 B
Org Mode
|
Enable electric pair mode
|
||
|
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(add-hook 'java-mode-hook 'electric-pair-local-mode)
|
||
|
#+END_SRC
|
||
|
|
||
|
Enable electric indent mode
|
||
|
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(add-hook 'java-mode-hook 'electric-indent-local-mode)
|
||
|
#+END_SRC
|
||
|
|
||
|
Configure the JDEE server
|
||
|
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(with-eval-after-load 'jdee-bsh
|
||
|
(setq jdee-server-dir "~/usr/share/java/jdee/"))
|
||
|
#+END_SRC
|
||
|
|
||
|
Enable fill column indicator
|
||
|
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(add-hook 'java-mode-hook 'fci-mode)
|
||
|
#+END_SRC
|