From 72790f649ddabed466174946941d9c964665a387 Mon Sep 17 00:00:00 2001 From: Zhang Chiyuan Date: Thu, 15 May 2008 02:04:29 +0000 Subject: [PATCH] add python-mode-hook to extra-mode-hooks --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index b6e87a3..a4bda39 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -107,7 +107,7 @@ them. `yas/window-system-popup-function' is used instead when in a window system.") (defvar yas/extra-mode-hooks - '(ruby-mode-hook actionscript-mode-hook ox-mode-hook) + '(ruby-mode-hook actionscript-mode-hook ox-mode-hook python-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.")