summaryrefslogtreecommitdiff
path: root/lisp/align.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-01-07 16:52:17 -0800
committerYuan Fu <casouri@gmail.com>2023-01-07 18:44:16 -0800
commit16f1e47ca8b2e0948691d63e8a0cbf30c5685301 (patch)
tree6f33c9f543ffe1e19e88e680b9f19d191e451de0 /lisp/align.el
parent508389ad2bb3e33269a66f2fcb020839b5a9a132 (diff)
downloademacs-16f1e47ca8b2e0948691d63e8a0cbf30c5685301.tar.gz
emacs-16f1e47ca8b2e0948691d63e8a0cbf30c5685301.tar.bz2
emacs-16f1e47ca8b2e0948691d63e8a0cbf30c5685301.zip
; * lisp/align.el (align-c++-modes): Add c/c++-ts-mode.
This fixes bug#60463.
Diffstat (limited to 'lisp/align.el')
-rw-r--r--lisp/align.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/align.el b/lisp/align.el
index 569186d241d..79a75dcec79 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -179,7 +179,8 @@ If nil, then no messages will ever be printed to the minibuffer."
:type '(choice (const :tag "Align a large region silently" nil) integer)
:group 'align)
-(defcustom align-c++-modes '(c++-mode c-mode java-mode)
+(defcustom align-c++-modes '( c++-mode c-mode java-mode
+ c-ts-mode c++-ts-mode)
"A list of modes whose syntax resembles C/C++."
:type '(repeat symbol)
:group 'align)