Closes #312: YAS-MODE-SYMBOL does not exist anymore, replaced by YAS-EXTRA-MODES

This commit is contained in:
Joao Tavora 2013-02-20 11:07:13 +00:00
parent e3a5f6e0c7
commit d9d7ed32ae

View File

@ -8,7 +8,7 @@
"Html-mode snippets behave as close to TextMate as possible.")
(defun yas-html-activate ()
(add-to-list (make-local-variable 'yas-mode-symbol) 'html-mode))
(add-to-list (make-local-variable 'yas-extra-modes) 'html-mode))
(add-hook 'nxml-mode-hook 'yas-html-activate)
(add-hook 'rhtml-mode-hook 'yas-html-activate)