From a9c05ddb3df165d2e56a81ebfc2e1f8ef21bf3d4 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 27 Jul 2011 12:11:12 +0200 Subject: [PATCH] EMACS: Trying out zencoding --- .gitmodules | 3 +++ emacs.d/elisp/zencoding | 1 + emacs.el | 6 ++++++ 3 files changed, 10 insertions(+) create mode 160000 emacs.d/elisp/zencoding diff --git a/.gitmodules b/.gitmodules index 0b68dd2..760f5ac 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "emacs.d/elisp/rainbow"] path = emacs.d/elisp/rainbow url = git://git.naquadah.org/rainbow.git +[submodule "emacs.d/elisp/zencoding"] + path = emacs.d/elisp/zencoding + url = git://github.com/rooney/zencoding.git diff --git a/emacs.d/elisp/zencoding b/emacs.d/elisp/zencoding new file mode 160000 index 0000000..6e5bfd8 --- /dev/null +++ b/emacs.d/elisp/zencoding @@ -0,0 +1 @@ +Subproject commit 6e5bfd864a679c1f699d03dc27223175cbde07ee diff --git a/emacs.el b/emacs.el index fc3dbbc..5d55db7 100644 --- a/emacs.el +++ b/emacs.el @@ -97,6 +97,12 @@ (whitespace-mode 1) (turn-on-auto-fill))) +;;; Zencoding mode +(add-to-list 'load-path "~/.emacs.d/elisp/zencoding") +(autoload 'zencoding-mode "zencoding-mode" "Minor mode for zencoding" t) +(add-hook 'sgml-mode-hook 'zencoding-mode) ; Auto-start on any markup + ; modes + (add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode") (add-to-list 'load-path "~/.emacs.d/elisp/lua-mode") (add-to-list 'load-path "~/.emacs.d/elisp/pi-php-mode")