2016-10-29 16:37:04 +02:00
|
|
|
#+TITLE: Emacs lisp mode configuration
|
|
|
|
|
|
|
|
Enable paredit mode to help always keep parentheses balanced.
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
Enable rainbow delimiters mode to help visualize the different
|
|
|
|
parenthesized levels.
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
Enable company mode to help complete long symbols and such.
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(add-hook 'emacs-lisp-mode-hook 'company-mode)
|
|
|
|
#+END_SRC
|
2016-11-04 19:38:54 +01:00
|
|
|
|
|
|
|
Enable flycheck mode to help me avoid errors.
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
|
|
|
|
#+END_SRC
|