From e20ed27cabba64274ab22b441c64153dafea1ad8 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Sun, 8 Aug 2021 23:30:17 +0530 Subject: [PATCH] [hydra] use my-compile-project instead of compile --- init.org | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 12e011b..b85e219 100644 --- a/init.org +++ b/init.org @@ -1533,7 +1533,12 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol ("t" my-org-hydra-set-tags "tags") ("C-t" org-todo "todo" :color red) ("n" my-org-hydra-nav/body "navigation") - ("b" compile "compile") + ("b" (my-compile-project + "Makefile" + (format "ORG_PATH=%S make -k %s" + (shell-quote-argument + (expand-file-name "~/.emacs.d/elisp-git/org-mode/lisp/")) + "compile")) "compile") ("C-b" contrapunctus-async-tangle "babel-tangle") ("E" toggle-debug-on-error "tdoe") @@ -1587,7 +1592,12 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol (my-defhydra my-elisp-hydra (:color blue) "Emacs Lisp" ("c" my-elisp-bytecomp-hydra/body "byte compile") - ("b" compile "compile") + ("b" (my-compile-project + "Makefile" + (format "ORG_PATH=%S make -k %s" + (shell-quote-argument + (expand-file-name "~/.emacs.d/elisp-git/org-mode/lisp/")) + "compile")) "compile") ("C-b" contrapunctus-async-tangle "babel-tangle") ("e" my-elisp-hydra-eval/body "Eval") ("E" my-elisp-hydra-debug/body "Debug")