add actionscript-mode-hook to extra-mode-hooks

This commit is contained in:
Zhang Chiyuan 2008-03-28 10:54:44 +00:00
parent 72be6f0fc2
commit fdb17ae897

View File

@ -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)
'(ruby-mode-hook actionscript-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.")