Commit 954ffa53027c

Vincent Demeester <vincent@sbr.pm>
2024-08-05 09:40:50
tools/emacs: fix run-command-recipe-make
It's an and instead of an or. We want to make sure `make` exists **and** a `Makefile` is present. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 82beefa
Changed files (1)
tools
tools/emacs/config/config-programming.el
@@ -61,7 +61,7 @@ This is condition to the following:
 - `Makefile' file present in project root *or* the default directory."
     (let* ((dir (vde-project--project-root-or-default-directory))
 	   (makefile (expand-file-name "Makefile" dir)))
-    (when (or
+    (when (and
 	   (executable-find "make")
 	   (file-exists-p makefile))
       (message "Makefile present")