Replace :electric with set-electric-rules!

And general refactor of the emacs/electric-indent module.

Also updates (set! :electric ...) references in various :lang modules
This commit is contained in:
Henrik Lissner 2018-06-15 12:30:56 +02:00
parent f801939ce7
commit 9f0ebe42e8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
9 changed files with 39 additions and 33 deletions

View file

@ -25,7 +25,7 @@ is loaded.")
(add-hook! 'python-mode-hook #'(flycheck-mode highlight-numbers-mode))
(set-env! "PYTHONPATH" "PYENV_ROOT")
(set! :electric 'python-mode :chars '(?:))
(set-electric! 'python-mode :chars '(?:))
(set! :repl 'python-mode #'+python/repl)
(when (executable-find "ipython")