branch: externals/matlab-mode
commit e0b79f501a25bb4540cb83a5b5fe1a93b90762a6
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-mode: update help for matlab-shell for matlab-ts-mode
---
matlab-shell.el | 26 +++-----------------------
matlab-ts-mode.el | 2 --
2 files changed, 3 insertions(+), 25 deletions(-)
diff --git a/matlab-shell.el b/matlab-shell.el
index 67f70ec951..2d2d6b1ee8 100644
--- a/matlab-shell.el
+++ b/matlab-shell.el
@@ -345,29 +345,9 @@ These will differ when MATLAB code changes directory
without notifying Emacs."]
This mode will allow standard Emacs shell commands/completion to occur
with MATLAB running as an inferior process. Additionally, this shell
-mode is integrated with `matlab-mode', a major mode for editing M
-code.
-
-> From an M file buffer:
-\\<matlab-mode-map>
-\\[matlab-shell-save-and-go] - Save the current M file, and run it in a \
-MATLAB shell.
-
-> From Shell mode:
-\\<matlab-shell-mode-map>
-\\[matlab-shell-last-error] - find location of last MATLAB runtime error \
-in the offending M file.
-
-> From an M file, or from Shell mode:
-\\<matlab-mode-map>
-\\[matlab-shell-run-command] - Run COMMAND and show result in a popup buffer.
-\\[matlab-shell-describe-variable] - Show variable contents in a popup buffer.
-\\[matlab-shell-describe-command] - Show online documentation for a command \
-in a popup buffer.
-\\[matlab-shell-apropos] - Show output from LOOKFOR command in a popup buffer.
-
-> Keymap:
-\\{matlab-mode-map}"
+mode is integrated with `matlab-ts-mode' or the older `matlab-mode', a
+major mode for editing *.m files. See the MATLAB menu in these
+buffers for the integration with matlab-shell-mode."
(setq major-mode 'matlab-shell-mode
mode-name "M-Shell"
comint-prompt-regexp "^\\(K\\|EDU\\)?>> *"
diff --git a/matlab-ts-mode.el b/matlab-ts-mode.el
index 32f2ebcb36..38b4c39116 100644
--- a/matlab-ts-mode.el
+++ b/matlab-ts-mode.el
@@ -3467,8 +3467,6 @@ so configuration variables of that mode, do not affect
this mode.
;;
;; TODO check abbrev mode - think this is setup by prog-mode, also see
matlab-mode
;;
- ;; TODO matlab-shell-mode: update help to have matlab-ts-mode or
matlab-mode
- ;;
;; TODO double check t-utils.el help, extract the help and put in treesit
how to
;;
;; TODO update matlab-ts-mode--builtins.el. I generated using R2025a
installation, though I