[compile] use my-compile-project to reduce duplication

This commit is contained in:
contrapunctus 2021-09-01 17:48:35 +05:30
parent a746b5c29a
commit 55a667bca8
1 changed files with 1 additions and 8 deletions

View File

@ -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))