From: adamch Date: Mon, 12 Nov 2007 23:35:05 +0000 (+0000) Subject: Add compile-command X-Git-Url: http://git.hcoop.net/hcoop/zz_old/domtool2-proto.git/commitdiff_plain/b668419489ac8621abf6ae9ffd855d9bb727aa40?hp=9b3f6729c6be5bab8440341e2a4d3a04b474c010 Add compile-command --- diff --git a/elisp/domtool-mode.el b/elisp/domtool-mode.el index 4b23e76..1e6959d 100644 --- a/elisp/domtool-mode.el +++ b/elisp/domtool-mode.el @@ -85,7 +85,10 @@ . 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)) + (set (make-local-variable 'comment-nested) t) + + (set (make-local-variable 'compile-command) + (concat "domtool -tc " (file-relative-name buffer-file-name)))) (defun domtool-indent-line () (let ((savep (> (current-column) (current-indentation)))