Conform hook names to conventions
Also minor reformatting & comment corrections.
This commit is contained in:
parent
c1b8d6f508
commit
17981d6a61
7 changed files with 8 additions and 11 deletions
|
@ -5,7 +5,7 @@
|
|||
"Register a minor MODE with yasnippet so it can have its own snippets
|
||||
category, if the folder exists."
|
||||
(after! yasnippet
|
||||
(let ((fn (intern (format "+snippets--register-%s" mode))))
|
||||
(let ((fn (intern (format "+snippets|register-%s" mode))))
|
||||
(fset fn (lambda () (+snippets|enable-project-modes mode)))
|
||||
(add-hook (intern (format "%s-hook" mode)) fn))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue