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) (insert-file-contents file nil nil nil t)
(push (yas/parse-template file) (push (yas/parse-template file)
snippet-defs)))) snippet-defs))))
(when (or snippet-defs (when snippet-defs
(cdr major-mode-and-parents))
(yas/define-snippets mode-sym (yas/define-snippets mode-sym
snippet-defs)) snippet-defs))
;; now recurse to a lower level ;; now recurse to a lower level