From 5a3f184f25bc4230d4d95d81e203f328839f8737 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 4 Oct 2021 00:29:17 +0100 Subject: misc nits --- lib/prog/jao-compilation.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/prog') diff --git a/lib/prog/jao-compilation.el b/lib/prog/jao-compilation.el index ef303ea..1c8e465 100644 --- a/lib/prog/jao-compilation.el +++ b/lib/prog/jao-compilation.el @@ -100,7 +100,7 @@ "Find the root of current file's project and issue a compilation command" (interactive) - (let ((default-directory (jao-compilation-root)) + (let ((default-directory (or (jao-compilation-root) default-directory)) (compilation-environment (jao-compilation--environment)) (compilation-read-command 'compilation-read-command)) (call-interactively 'compile))) -- cgit v1.2.3