[compile] use my-compile-project to reduce duplication
This commit is contained in:
parent
a746b5c29a
commit
55a667bca8
9
init.org
9
init.org
|
@ -3385,14 +3385,7 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel
|
|||
;; ((or "chronometrist.org" "chronometrist-key-values.org" "init.org") t)
|
||||
;; (_ (org-html-export-to-html))))
|
||||
('LilyPond-mode
|
||||
(let ((project-dir (locate-dominating-file file-path ;; "build.scm""
|
||||
;; "mkly-rules.scm"
|
||||
"mkly")))
|
||||
(when project-dir
|
||||
(cd project-dir)
|
||||
(compile "./mkly dev"
|
||||
;; "./build.scm main pac=on"
|
||||
))))
|
||||
(my-compile-project "mkly" nil "./mkly dev"))
|
||||
('latex-mode
|
||||
(if (file-exists-p "Makefile")
|
||||
(compile (car compile-history))
|
||||
|
|
Loading…
Reference in New Issue