This shouldn't be here

This commit is contained in:
João Távora 2012-03-25 14:46:30 +01:00
parent 27eade2d04
commit 012ce9cba0

View File

@ -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