diff --git a/doc/faq.rst b/doc/faq.rst new file mode 100644 index 0000000..6592103 --- /dev/null +++ b/doc/faq.rst @@ -0,0 +1,10 @@ +========================= +How to define a snippet ? +========================= + +:Author: pluskid +:Contact: pluskid@gmail.com +:Date: 2008-03-20 + +Coming soon. Currently please refer to the online `Tips wiki page +`_. diff --git a/yasnippet.el b/yasnippet.el index fe6a3c3..e111f25 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -105,7 +105,7 @@ them. `yas/window-system-popup-function' is used instead when in a window system.") (defvar yas/extra-mode-hooks - '(ruby-mode-hook php-mode-hook) + '(ruby-mode-hook) "A list of mode-hook that should be hooked to enable yas/minor-mode. Most modes need no special consideration. Some mode (like ruby-mode) doesn't call `after-change-major-mode-hook' need to be hooked explicitly.")