mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2025-12-31 21:48:34 +03:00
Merge pull request #61 from VlachJosef/no-godot-on-path
Signal an error if godot executable can't be found
This commit is contained in:
@@ -50,6 +50,9 @@
|
||||
CMD is the command to be invoked by the shell. If SHOW, the
|
||||
output of the process will be provided in a buffer named
|
||||
`*godot*'."
|
||||
(when (not (executable-find gdscript-godot-executable))
|
||||
(error "Error: Could not find %s on PATH. Please customize the gdscript-godot-executable variable." gdscript-godot-executable))
|
||||
|
||||
(start-process-shell-command "Godot Process" (if show
|
||||
"*godot*" nil) cmd))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user