diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 574054c..2026543 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -698,6 +698,9 @@ Only do this when the mode is not in emacs state by default." ;; Enable subword-mode in Python buffers (add-hook 'python-mode-hook 'subword-mode) +;; Enable electric pairs mode in Python buffers +(add-hook 'python-mode-hook 'electric-pair-local-mode) + (oni:add-hooks 'slime-repl-mode-hook 'paredit-mode 'set-up-slime-ac)