]> code.delx.au - gnu-emacs-elpa/commitdiff
This shouldn't be here
authorJoão Távora <joaotavora@gmail.com>
Sun, 25 Mar 2012 13:46:30 +0000 (14:46 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 25 Mar 2012 13:46:30 +0000 (14:46 +0100)
yasnippet.el

index 6966ea1138e889582357eb14f541a36beb403bfd..99ba1092d26518dab8c5e7a9388e1c3f505cd48d 100644 (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