Clean up + refactor
This commit is contained in:
parent
7e282841ba
commit
9571acd3e9
18 changed files with 136 additions and 102 deletions
|
@ -5,7 +5,7 @@
|
|||
(defmacro add-yas-minor-mode! (mode)
|
||||
"Register minor MODES in yasnippet."
|
||||
`(after! yasnippet
|
||||
(when (boundp 'yas-extra-modes)
|
||||
(when (boundp 'yas--extra-modes)
|
||||
(add-hook ',(intern (concat (symbol-name (cadr mode)) "-hook"))
|
||||
(lambda ()
|
||||
(if (symbol-value ,mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue