Enable electric pairs for Python buffers
This commit is contained in:
parent
e44cd12861
commit
31809b70e7
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue