X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/3b37f60fedd3b91d2781c5ac852617860ec01e9d..4cf8279f1c946ae730109500896ad1e0aabfa769:/elisp/domtool-mode.el diff --git a/elisp/domtool-mode.el b/elisp/domtool-mode.el index 8e77d7d..4b37e9c 100644 --- a/elisp/domtool-mode.el +++ b/elisp/domtool-mode.el @@ -99,7 +99,10 @@ (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 '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)))