Skip to content

Commit d49fa62

Browse files
author
John Ciolfi
committed
matlab-ts-mode: organize faces, add M-x matlab-ts-describe-faces
1 parent 3bf573b commit d49fa62

File tree

6 files changed

+380
-75
lines changed

6 files changed

+380
-75
lines changed

NEWS.org

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,23 @@
33

44
# Copyright (C) 2025 Free Software Foundation, Inc.
55

6+
* Release 7.4.0 Nov 26, 2025
7+
8+
1. Place the =matlab-*-face= definitions in customize matlab-ts-faces group.
9+
10+
2. Add =M-x matlab-ts-describe-faces= along with menu item
11+
12+
: MATLAB -> Describe faces
13+
14+
that will bring up a help buffer containing the faces used by matlab-ts-mode. From there you can
15+
customize them. This differs from viewing the matlab-ts-faces group in that it contains both
16+
matlab-*-faces plus other built-in faces such as font-lock-type-face. This help buffer also
17+
contain more information on when the faces are used.
18+
619
* Release 7.3.4 Nov 25, 2025
720

8-
1. Adds the source and build instructions for the libtree-sitter-matlab.SLIB_EXT binaries
21+
1. Add the source and build instructions for the libtree-sitter-matlab.SLIB_EXT binaries
22+
found in [[file:matlab-ts-bin][./matlab-ts-bin]] and used by =M-x matlab-ts-grammar-install=.
923

1024
* Release 7.3.3 Nov 23, 2025
1125

@@ -362,4 +376,5 @@ prior to sourceforge no longer exist.
362376
See older history [[https://github.com/mathworks/Emacs-MATLAB-Mode/blob/2ff6f96294353f3f17757a2522a64c427929ff01/ChangeLog][ChangeLog]], [[https://github.com/mathworks/Emacs-MATLAB-Mode/blob/528a4fc79426adc7cf9a484d231dec7defd9c5f4/ChangeLog.old1][ChangeLog.old1]], [[https://github.com/mathworks/Emacs-MATLAB-Mode/blob/528a4fc79426adc7cf9a484d231dec7defd9c5f4/ChangeLog.old2][ChangeLog.old2]], and older [[https://github.com/mathworks/Emacs-MATLAB-Mode/blob/b7e170ee37a23b6852e461772de1c4e986bb6833/NEWS.org][NEWS.org]].
363377

364378
# LocalWords: showall ELPA MELPA fontification fontify sexp SPC LSP builtins MLint flycheck lsp
365-
# LocalWords: netshell emacsinit imenu matlabls netsell sourceforge MMM YYYY emacsrunregion
379+
# LocalWords: netshell emacsinit imenu matlabls netsell sourceforge MMM YYYY emacsrunregion libtree
380+
# LocalWords: SLIB abi ce da utils fcf

matlab-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; matlab-mode.el --- Major mode for MATLAB(R) dot-m files -*- lexical-binding: t -*-
22

3-
;; Version: 7.3.4
3+
;; Version: 7.4.0
44
;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode
55
;; SPDX-License-Identifier: GPL-3.0-or-later
66

matlab-sections.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@
4646
"MATLAB \"%% code sections\"."
4747
:group 'matlab)
4848

49-
(defface matlab-sections-highlight-face
50-
'((t :weight extra-bold))
51-
"Default face for highlighting the current section in matlab-sections-minor-mode."
52-
:group 'matlab-sections)
53-
5449
(defface matlab-sections-section-break-face
5550
'((t :inherit font-lock-comment-face
5651
:overline t
5752
:height 1.25))
58-
"Face for \"%% code section\" headings in matlab-sections-minor-mode.
53+
"Face for \"%% code section\" headings in `matlab-sections-minor-mode'.
5954
This is the face used when demarcating code sections in MATLAB script files."
6055
:group 'matlab-sections)
6156

57+
(defface matlab-sections-highlight-face
58+
'((t :weight extra-bold))
59+
"Default face for highlighting the current section in `matlab-sections-minor-mode'."
60+
:group 'matlab-sections)
61+
6262
(defcustom matlab-sections-highlight-section t
6363
"Non-nil tells matlab-sections-minor-mode to highlight the current section."
6464
:type 'boolean

0 commit comments

Comments
 (0)