Enable electric-operator mode for Python

This commit is contained in:
Gergely Polonkai 2019-02-07 09:02:42 +01:00
parent 897ba7b9c0
commit 5f5a862ec0
1 changed files with 2 additions and 1 deletions

View File

@ -2317,7 +2317,8 @@ Automatically add spaces around operators.
(apply #'electric-operator-add-rules-for-mode 'vala-mode (apply #'electric-operator-add-rules-for-mode 'vala-mode
(electric-operator-get-rules-for-mode 'prog-mode)) (electric-operator-get-rules-for-mode 'prog-mode))
:hook :hook
(c-mode-common . electric-operator-mode)) (c-mode-common . electric-operator-mode)
(python-mode . electric-operator-mode))
#+END_SRC #+END_SRC
** Yasnippets ** Yasnippets