From 31809b70e7f280cf712a16e51b271d62605af278 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 9 Feb 2016 11:03:40 +0100 Subject: Enable electric pairs for Python buffers --- emacs/.emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs') 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) -- cgit v1.2.3-54-g00ecf