From 81c58e0efa6d93c8085bf9f8b1c6d4fc3cd25642 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 1 Aug 2015 14:26:53 +0200 Subject: [PATCH] narf:build -- run even if (null build-file) --- core/lib/defuns-quickrun.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/defuns-quickrun.el b/core/lib/defuns-quickrun.el index 645d1c4bf..508d37134 100644 --- a/core/lib/defuns-quickrun.el +++ b/core/lib/defuns-quickrun.el @@ -21,7 +21,7 @@ If ARG is nil this function calls `recompile', otherwise it calls (user-error "No build command was set")) (let ((build-file (cdr narf--build-command)) (build-cmd (car narf--build-command))) - (if (narf/project-has-files build-file) + (if (or (null build-file) (narf/project-has-files build-file)) (compile (format "cd '%s' && %s" (narf/project-root) (format build-cmd (or arg "")))) (error "Could not find Makefile"))))