Permalink
Browse files

zencoding and psgml-mode

  • Loading branch information...
1 parent be4f659 commit 6a2a8b8e19d945c6461245cff9a46c5af1491748 @nelhage committed May 8, 2010
View
@@ -919,6 +919,19 @@ surrounding xml expression"
(nxml-forward-element)
(kill-region start (point))))
+;;;psgml-mode
+(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
+(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
+
+(setq sgml-set-face t
+ sgml-indent-data t
+ sgml-auto-activate-dtd t)
+
+;;; Zen Coding
+(autoload 'zencoding-mode "zencoding-mode" "Minor mode to enable Zen coding")
+(add-hook 'sgml-mode-hook 'zencoding-mode)
+(add-hook 'nxml-mode-hook 'zencoding-mode)
+
;;;Mason-mode
(defun mason-mode ()
(interactive)
View
1 psgml
Oops, something went wrong.

0 comments on commit 6a2a8b8

Please sign in to comment.