General, minor reformatting/refactor

This commit is contained in:
Henrik Lissner 2018-06-02 13:58:04 +02:00
parent ae7ead6e87
commit e5a4415d58
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 7 additions and 8 deletions

View file

@ -367,7 +367,7 @@ The available conditions are:
,@(if (and modes (listp modes))
(cl-loop for hook in (doom--resolve-hook-forms modes)
collect `(add-hook ',hook #',hook-name))
`((add-hook 'after-change-major-mode-hook ',hook-name))))))
`((add-hook 'after-change-major-mode-hook #',hook-name))))))
(match
`(map-put doom-auto-minor-mode-alist ,match ',mode))
(t (user-error "associate! invalid rules for mode [%s] (modes %s) (match %s) (files %s)"