From 1331bf72907f9ddcc394bca92073c817c6e102c1 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 1 Feb 2013 10:09:27 +0000 Subject: [PATCH] Add zencoding-mode --- packages.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages.el b/packages.el index 30e87b7..d37f35e 100644 --- a/packages.el +++ b/packages.el @@ -73,7 +73,8 @@ writegood-mode writeroom-mode yaml-mode - yasnippet) + yasnippet + zencoding-mode) "A list of packages to install from MELPA at launch.") ;; Packages to install from el-get @@ -157,7 +158,11 @@ ;; Load yasnippet (when (require 'yasnippet nil 'noerror) - (yas/global-mode t))) + (yas/global-mode t)) + + ;; Load zencoding-mode in any markup modes + (when (require 'zencoding-mode nil 'noerror) + (add-hook 'sgml-mode-hook 'zencoding-mode))) ;;