about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.org b/config.org index 4408a05..b1dae3e 100644 --- a/config.org +++ b/config.org
@@ -1662,10 +1662,14 @@ to auto-fill in programming modes, but /only/ the comments.
1662 (blackout 'smartparens-mode) 1662 (blackout 'smartparens-mode)
1663#+end_src 1663#+end_src
1664 1664
1665**** Be strict in =prog-mode= 1665**** Enable in programming modes
1666 1666
1667#+begin_src emacs-lisp :noweb-ref hooks 1667#+begin_src emacs-lisp :noweb-ref hooks
1668 (add-hook 'prog-mode-hook #'smartparens-strict-mode) 1668 (add-hook 'prog-mode-hook #'smartparens-mode)
1669
1670 (dolist (hook '(lisp-mode-hook
1671 emacs-lisp-mode-hook))
1672 (add-hook hook #'smartparens-strict-mode))
1669#+end_src 1673#+end_src
1670 1674
1671**** Use =paredit= bindings 1675**** Use =paredit= bindings