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

    Correction: using abs-matlab-exe in matlab-shell.el
---
 matlab-shell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to