mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix error checking minor-mode for file templates
This commit is contained in:
@ -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)))
|
||||
|
Reference in New Issue
Block a user