Fix electric-operator config so it works with the newest version

This commit is contained in:
Gergely Polonkai 2018-08-29 09:39:47 +02:00
parent 7eb110756d
commit 4a4a93de02

View File

@ -2041,7 +2041,7 @@ Automatically add spaces around operators.
(add-hook 'c-mode-common-hook 'electric-operator-mode) (add-hook 'c-mode-common-hook 'electric-operator-mode)
;; Apply electric-operator-mode to vala-mode, too ;; Apply electric-operator-mode to vala-mode, too
(apply #'electric-operator-add-rules-for-mode 'vala-mode (apply #'electric-operator-add-rules-for-mode 'vala-mode
electric-operator-prog-mode-rules)) (electric-operator-get-rules-for-mode 'prog-mode)))
#+END_SRC #+END_SRC
** Yasnippets ** Yasnippets