From 2faaa1a028f44b718e7189e61f0f581e7bef83ef Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 12 Dec 2021 03:27:06 +0100 Subject: [PATCH] Tweak smartparens again --- README.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 865d8fc..a89e2b9 100644 --- a/README.org +++ b/README.org @@ -1053,14 +1053,14 @@ widened buffer states. '(sp-override-key-bindings '(("C-(" . sp-backward-barf-sexp) ("C-)" . sp-forward-slurp-sexp)))) - (add-hook 'prog-mode-hook #'turn-on-smartparens-mode) - (add-hook 'text-mode-hook #'turn-on-smartparens-mode) + (add-hook 'prog-mode-hook #'smartparens-mode) + (add-hook 'text-mode-hook #'smartparens-mode) (dolist (hook '(emacs-lisp-mode-hook eval-expression-minibuffer-setup-hook ielm-mode-hook python-mode-hook)) - (add-hook hook #'turn-on-smartparens-strict-mode)) + (add-hook hook #'smartparens-strict-mode)) ;; https://xenodium.com/emacs-smartparens-auto-indent/index.html (defun indent-between-pair (&rest _ignored)