From e3989a67176e15c041303fc14dbb0b9070194351 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 11 Nov 2007 21:23:23 +0000 Subject: [PATCH] Support comment-region and friends --- elisp/domtool-mode.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/elisp/domtool-mode.el b/elisp/domtool-mode.el index 8e77d7d..039db8d 100644 --- a/elisp/domtool-mode.el +++ b/elisp/domtool-mode.el @@ -99,7 +99,11 @@ (font-lock-syntactic-keywords . domtool-font-lock-syntactic-keywords) (font-lock-syntactic-face-function - . domtool-font-lock-syntactic-face-function)))) + . domtool-font-lock-syntactic-face-function))) + (set (make-local-variable 'indent-line-function) 'sml-indent-line) + (set (make-local-variable 'comment-start) "(* ") + (set (make-local-variable 'comment-end) " *)") + (set (make-local-variable 'comment-nested) t)) (defun domtool-indent-line () (let ((savep (> (current-column) (current-indentation))) -- 2.20.1