Enable electric pairs for Python buffers

This commit is contained in:
Tom Willemse 2016-02-09 11:03:40 +01:00
parent e44cd12861
commit 31809b70e7

View file

@ -698,6 +698,9 @@ Only do this when the mode is not in emacs state by default."
;; Enable subword-mode in Python buffers ;; Enable subword-mode in Python buffers
(add-hook 'python-mode-hook 'subword-mode) (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 (oni:add-hooks 'slime-repl-mode-hook
'paredit-mode 'set-up-slime-ac) 'paredit-mode 'set-up-slime-ac)