diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-01-16 10:16:46 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-01-16 10:16:46 +0100 |
commit | 5342b46210f199f43048804c0da3d452144c3d21 (patch) | |
tree | df02c02519a86cb674bddb5f4749e4489a2c55f2 | |
parent | 57692060148954c77eed00d30fdbd882e6616a4d (diff) |
Enable paredit for lisp-mode as well.
-rw-r--r-- | init.org | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -920,11 +920,12 @@ Emacs also highlights matching parentheses, but it does so with a delay. Here I (show-paren-mode 1) #+END_SRC -Editing lispy languages is no fun without =paredit=, a mode to enforce balanced parentheses. Enable it automatically when editing Scheme or Elisp. +Editing lispy languages is no fun without =paredit=, a mode to enforce balanced parentheses. Enable it automatically when editing Scheme, Common Lisp, or Elisp. #+BEGIN_SRC elisp (add-hook 'scheme-mode-hook (lambda () (paredit-mode 1))) (add-hook 'emacs-lisp-mode-hook (lambda () (paredit-mode 1))) +(add-hook 'lisp-mode-hook (lambda () (paredit-mode 1))) (add-hook 'geiser-repl-mode-hook (lambda () (paredit-mode 1))) #+END_SRC |