Skip to content

Commit 594ba1a

Browse files
committed
Fix function name
1 parent b151fc6 commit 594ba1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpactor.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ function."
478478
(cl-defun phpactor-action-dispatch (&key action parameters version)
479479
"Execite action by `NAME' and `PARAMETERS'."
480480
(when (and version (not (equal phpactor--supported-rpc-version version)))
481-
(if (phpactor-executable)
481+
(if (phpactor-find-executable)
482482
(error "Phpactor uses rpc protocol %s but this package requires %s" version phpactor--supported-rpc-version)
483483
(error "Phpactor should be upgraded. Please run phpactor-update")))
484484
(phpactor--add-history 'phpactor-action-dispatch (list :action action :parameters parameters :version version))

0 commit comments

Comments
 (0)