branch: externals/matlab-mode
commit 409746e5d00fdb607686ab5729221420449af0fe
Author: John Ciolfi <john.ciolfi...@gmail.com>
Commit: John Ciolfi <john.ciolfi...@gmail.com>

    matlab-shell.el: correct typo from last commit
---
 matlab-shell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab-shell.el b/matlab-shell.el
index 77967dd75a..ecd507b883 100644
--- a/matlab-shell.el
+++ b/matlab-shell.el
@@ -1920,7 +1920,7 @@ return nil."
     (lambda (mref) (when (string-match "\\.\\(p\\)\\'" mref)
                      (replace-match "m" nil t mref 1)))
     ;; Function name, no extension.
-    (lambda (mref) (unless (string-match "\\.m\\'" mref)) (concat mref ".m"))
+    (lambda (mref) (unless (string-match "\\.m\\'" mref) (concat mref ".m")))
     ;; Methods in a class
     (lambda (mref) (when (string-match "\\." mref)
                      (matlab-shell-class-mref-to-file mref)))

Reply via email to