HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add read-only path type
[hcoop/domtool2.git]
/
elisp
/
domtool-mode.el
diff --git
a/elisp/domtool-mode.el
b/elisp/domtool-mode.el
index
4b23e76
..
1e6959d
100644
(file)
--- 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) " *)")
. 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)))
(defun domtool-indent-line ()
(let ((savep (> (current-column) (current-indentation)))