mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
This shouldn't be here
This commit is contained in:
parent
27eade2d04
commit
012ce9cba0
@ -1624,8 +1624,7 @@ TEMPLATES is a list of `yas/template'."
|
||||
(insert-file-contents file nil nil nil t)
|
||||
(push (yas/parse-template file)
|
||||
snippet-defs))))
|
||||
(when (or snippet-defs
|
||||
(cdr major-mode-and-parents))
|
||||
(when snippet-defs
|
||||
(yas/define-snippets mode-sym
|
||||
snippet-defs))
|
||||
;; now recurse to a lower level
|
||||
|
Loading…
x
Reference in New Issue
Block a user