Fix error checking minor-mode for file templates
This commit is contained in:
parent
f05850767c
commit
4d092d38d3
|
@ -7,7 +7,8 @@
|
|||
(lambda ()
|
||||
(unless (or (and ,project-only (not (narf/project-p)))
|
||||
(not (or (eq major-mode ,yas-mode)
|
||||
(symbol-value ,yas-mode))))
|
||||
(and (boundp ,yas-mode)
|
||||
(symbol-value ,yas-mode)))))
|
||||
(insert ,uuid)
|
||||
(yas-expand-from-trigger-key)
|
||||
(if (string-equal ,uuid (s-trim (buffer-string)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user