;; lzx.el ;; ;; * E_LZ_COPYRIGHT_BEGIN ****************************************************** ;; * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. * ;; * Use is subject to license terms. * ;; * E_LZ_COPYRIGHT_END ******************************************************** ;;; Description: ;; This file tells emacs to recognize *.lzx files as XML files. With ;; a DTD (as described in the developer's guide), this will provide ;; syntax-directed editing and validation of XML entities in LZX ;; files. ;; If mmm-mode is installed, this file will also create an mmm submode ;; to recognize the content of and " :insert (((meta . ?s) js-script-cdata nil @ "" @)) ) (js-script :submode javascript :face mmm-code-submode-face :front "]*>[ \t]*\n?" :back "[ \t]*" :insert ((?s js-script nil @ "" @)) ) (js-inline :submode javascript :face mmm-code-submode-face :front "on\w+=\"" :back "\""))) (mmm-add-mode-ext-class 'nxml-mode "\\.lz[lx]\\'" 'lzx) )