branch: externals/matlab-mode
commit 21262e5eb50468227035ac6c7606ea805233956a
Author: Nidish <[email protected]>
Commit: Nidish <[email protected]>

    minor bugfix in matlab-shell for remote execution
---
 matlab-shell.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/matlab-shell.el b/matlab-shell.el
index 1914668eef..a2235ded7b 100644
--- a/matlab-shell.el
+++ b/matlab-shell.el
@@ -469,7 +469,8 @@ Try C-h f matlab-shell RET"))
            (process-environment (cons newvar process-environment))
            (abs-matlab-exe (matlab--get-abs-matlab-exe))
            (matlab-exe (if (file-remote-p abs-matlab-exe)
-                           matlab-shell-command
+                           ;; Extract only local name
+                           (file-local-name matlab-shell-command)
                          abs-matlab-exe)))
       (message "Running: %s" abs-matlab-exe)
       (apply #'make-comint matlab-shell-buffer-name matlab-exe

Reply via email to