Fix indentation for many autodef setters

This commit is contained in:
Henrik Lissner 2018-06-22 01:30:27 +02:00
parent 22c145105d
commit 5531d7115a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
9 changed files with 9 additions and 3 deletions

View file

@ -4,7 +4,7 @@
(defun set-electric! (modes &rest plist)
"Declare :words (list of strings) or :chars (lists of chars) in MODES that
trigger electric indentation."
(declare (indent 1))
(declare (indent defun))
(dolist (mode (doom-enlist modes))
(let ((hook (intern (format "%s-hook" mode)))
(fn (intern (format "+electric|init-%s" mode))))