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
|
2016-11-24 21:45:01 +01:00
|
|
|
|
|
|
|
Enable namesless mode to help with viewing name-prefixed symbols.
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(add-hook 'emacs-lisp-mode-hook 'nameless-mode)
|
|
|
|
#+END_SRC
|