From f25cf300e9bc38139b309852d913ff02ab6d73ec Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 8 Feb 2008 13:39:21 +0000 Subject: [PATCH] emacs, dot-emacs: Move SGML hacking to dot-emacs. Not sure why it was in the wrong place to begin with. --- dot-emacs.el | 20 ++++++++++++++++++++ emacs | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/dot-emacs.el b/dot-emacs.el index dffae4f..55c5857 100644 --- a/dot-emacs.el +++ b/dot-emacs.el @@ -1643,6 +1643,26 @@ strip numbers instead." (list "[$^_{}#&]" '(0 mdw-punct-face))))) +;;;----- SGML hacking ------------------------------------------------------- + +(defun mdw-sgml-mode () + (interactive) + (sgml-mode) + (mdw-standard-fill-prefix "") + (make-variable-buffer-local 'sgml-delimiters) + (setq sgml-delimiters + '("AND" "&" "COM" "--" "CRO" "&#" "DSC" "]" "DSO" "[" "DTGC" "]" + "DTGO" "[" "ERO" "&" "ETAGO" ":e" "GRPC" ")" "GRPO" "(" "LIT" "\"" + "LITA" "'" "MDC" ">" "MDO" "" "PIO" "" + "XML-ECOM" "-->" "XML-PIC" "?>" "XML-SCOM" "" "XML-PIC" "?>" "XML-SCOM" "