From 036a7388b62a9b4192c8f2c5b4033ca180fb1471 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Wed, 1 Sep 2021 17:50:09 +0530 Subject: [PATCH] [hydra] use my-compile-project --- init.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index bd3f0b4..5a96637 100644 --- a/init.org +++ b/init.org @@ -1551,7 +1551,8 @@ With PREFIX argument and CMD not supplied - prompt for command." #+BEGIN_SRC emacs-lisp (my-defhydra contrapunctus-general-hydra (:color blue) "What command?" - ("b" compile "compile") + ("b" (my-compile-project "Makefile") "compile") + ("B" (my-compile-project "Makefile" t) "compile (prompt)") ("h" my-help-hydra/body "Help") ("E" toggle-debug-on-error "tdoe") ("Q" toggle-debug-on-quit "tdoq")) @@ -1770,7 +1771,8 @@ With PREFIX argument and CMD not supplied - prompt for command." #+BEGIN_SRC emacs-lisp (my-defhydra my-lilypond-hydra (:color blue) "Lilypond" - ("b" (my-compile-project "main.ly" "./mkly dev") "Compile") + ("b" (my-compile-project "main.ly" nil "./mkly dev") "Compile") + ("B" (my-compile-project "main.ly" t "./mkly dev") "Compile") ("h" my-help-hydra/body "Help") ("E" toggle-debug-on-error "tdoe")