diff options
author | Tom Willemse | 2016-02-09 11:03:40 +0100 |
---|---|---|
committer | Tom Willemse | 2016-02-09 11:03:40 +0100 |
commit | 31809b70e7f280cf712a16e51b271d62605af278 (patch) | |
tree | fae1048fea7b890c84678de19e04f73dd99a175d /emacs/.emacs.d | |
parent | e44cd1286189e7c45de81776263650e03c6af559 (diff) | |
download | dotfiles-31809b70e7f280cf712a16e51b271d62605af278.tar.gz dotfiles-31809b70e7f280cf712a16e51b271d62605af278.zip |
Enable electric pairs for Python buffers
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
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) |