Fix indentation for many autodef setters
This commit is contained in:
parent
22c145105d
commit
5531d7115a
9 changed files with 9 additions and 3 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue