From 88f72f357b3fe819dff9781a674be8bf27158123 Mon Sep 17 00:00:00 2001 From: Boris Buliga Date: Wed, 3 Jan 2024 22:55:14 +0200 Subject: [PATCH] feat: do not require compiler --- publicatorg.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/publicatorg.el b/publicatorg.el index 8c3fd55..c50a8b1 100644 --- a/publicatorg.el +++ b/publicatorg.el @@ -398,10 +398,11 @@ and the time taken by garbage collection. See also it compiler-name (porg-cache-item-output cached)) - (funcall (porg-compiler-clean compiler) - (expand-file-name - (porg-cache-item-output cached) - (porg-project-root project))) + (when (porg-compiler-clean compiler) + (funcall (porg-compiler-clean compiler) + (expand-file-name + (porg-cache-item-output cached) + (porg-project-root project)))) (remhash it cache) ;; not the most effective way, but allows to decrease amount of work in case of failures (porg-cache-write cache-file cache)))