Conform hook names to conventions

Also minor reformatting & comment corrections.
This commit is contained in:
Henrik Lissner 2018-06-17 02:13:46 +02:00
parent c1b8d6f508
commit 17981d6a61
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 8 additions and 11 deletions

View file

@ -10,7 +10,7 @@ trigger electric indentation."
(list '(:char :words) plist)))
(cl-destructuring-bind (&key chars words) plist
(dolist (mode (doom-enlist modes))
(let ((fn (intern (format "+electric-indent--init-%s" mode))))
(let ((fn (intern (format "+electric|init-%s" mode))))
(fset fn
(lambda ()
(electric-indent-local-mode +1)