Skip to content

Commit 6031844

Browse files
committed
Trigger error if executable not found
1 parent 736b893 commit 6031844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/exec.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
(if-let* ((command (eask-argv 1))
2525
(exe (executable-find command)))
2626
(load-file exe)
27-
(message "Executable `%s`.. not found" command)))
27+
(error "Executable `%s`.. not found" command)))
2828

2929
;;; exec.el ends here

0 commit comments

Comments
 (0)