From aa21a5da7a12c565378c994a4aa78cd9379dec9d Mon Sep 17 00:00:00 2001 From: Zhang Chiyuan Date: Thu, 20 Mar 2008 15:42:07 +0000 Subject: [PATCH] remove php-mode-hook from black list --- doc/faq.rst | 10 ++++++++++ yasnippet.el | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 doc/faq.rst 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.")