branch: externals/matlab-mode
commit 3fac6eb00a11e8cf2f4687c49ac4d354d7547d1e
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-mode: release 7.3.3
1. Update to latest https://github.com/acristoffers/tree-sitter-matlab
which improves
matlab-ts-mode: matlab-ts-abi14-20251122-90ce9da
---
NEWS.org | 5 +++++
matlab-mode.el | 2 +-
matlab-ts-mode.el | 10 +++++-----
matlab.el | 2 +-
tests/t-utils.el | 2 +-
5 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/NEWS.org b/NEWS.org
index 08893ef018..69a6040766 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -3,6 +3,11 @@
# Copyright (C) 2025 Free Software Foundation, Inc.
+* Release 7.3.3 Nov 23, 2025
+
+1. Update to latest https://github.com/acristoffers/tree-sitter-matlab which
improves
+ matlab-ts-mode: matlab-ts-abi14-20251122-90ce9da
+
* Release 7.3.2 Nov 21, 2025
1. Update to latest https://github.com/acristoffers/tree-sitter-matlab which
improves
diff --git a/matlab-mode.el b/matlab-mode.el
index 5bf4d802a1..4676290714 100644
--- a/matlab-mode.el
+++ b/matlab-mode.el
@@ -1,6 +1,6 @@
;;; matlab-mode.el --- Major mode for MATLAB(R) dot-m files -*-
lexical-binding: t -*-
-;; Version: 7.3.2
+;; Version: 7.3.3
;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode
;; SPDX-License-Identifier: GPL-3.0-or-later
diff --git a/matlab-ts-mode.el b/matlab-ts-mode.el
index 5006ad563a..bb321d36d1 100644
--- a/matlab-ts-mode.el
+++ b/matlab-ts-mode.el
@@ -1,6 +1,6 @@
;;; matlab-ts-mode.el --- MATLAB(R) Tree-Sitter Mode -*- lexical-binding: t -*-
-;; Version: 7.3.2
+;; Version: 7.3.3
;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -2248,7 +2248,7 @@ Example:
"Return the offset computed by
`matlab-ts-mode--i-comment-under-fcn-matcher'."
(cdr matlab-ts-mode--i-comment-under-fcn-pair))
-(defun maltab-ts-mode--i-top-level (node parent _bol &rest _)
+(defun matlab-ts-mode--i-top-level (node parent _bol &rest _)
"Is NODE with PARENT a top-level classdef, function, or code?"
(and node
(not (string-match-p (rx bos (or "line_continuation" "\n") eos)
@@ -2257,7 +2257,7 @@ Example:
(defun matlab-ts-mode--column-0 (_node _parent bol &rest _)
"Return column-0 for BOL.
-Note treesit column-0 moves point, fixed in Fmacs 31."
+Note treesit column-0 moves point, fixed in Emacs 31."
(save-excursion
(goto-char bol)
(line-beginning-position)))
@@ -2453,7 +2453,7 @@ Example:
,#'matlab-ts-mode--i-comment-under-fcn-offset)
;; I-Rule: classdef's, function's, or code for a script that is at the
top-level
- (,#'maltab-ts-mode--i-top-level
+ (,#'matlab-ts-mode--i-top-level
,#'matlab-ts-mode--column-0
0)
@@ -4364,4 +4364,4 @@ matlab-language-server-lsp-mode.org\n"
;; LocalWords: funcall mfile elec foo'bar mapcar lsp noerror alnum featurep
grep'ing mapconcat wie
;; LocalWords: Keymap keymap netshell gud ebstop mlgud ebclear ebstatus mlg
mlgud's subjob reindent
;; LocalWords: DWIM dwim parens caar cdar utils fooenum mcode CRLF cmddual
lang nconc listify kbd
-;; LocalWords: matlabls vscode buf dolist sp ppss
+;; LocalWords: matlabls vscode buf dolist sp ppss bobp sexps
diff --git a/matlab.el b/matlab.el
index 5e18d98240..a8727e272f 100644
--- a/matlab.el
+++ b/matlab.el
@@ -1,6 +1,6 @@
;;; matlab.el --- major mode for MATLAB(R) dot-m files -*- lexical-binding: t
-*-
-;; Version: 7.3.2
+;; Version: 7.3.3
;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode
;; SPDX-License-Identifier: GPL-3.0-or-later
diff --git a/tests/t-utils.el b/tests/t-utils.el
index c74201c14d..818929b15f 100644
--- a/tests/t-utils.el
+++ b/tests/t-utils.el
@@ -3199,4 +3199,4 @@ To debug a specific -parser test file
;; LocalWords: consp listp cdr CRLF impl tmp xr boundp SPC kbd prin progn
defmacro sexp stdlib locs
;; LocalWords: showall repeat:nil kkk fff Dkkkk kkkkkk mapcar eobp trim'd bol
NPS prev puthash md
;; LocalWords: maphash lessp gethash nbutlast mapconcat ppss imenu pcase eow
NAME's darwin libtree
-;; LocalWords: defface fontify keymap
+;; LocalWords: defface fontify keymap curr