aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2024-11-18 10:10:00 -0500
committerStefan Monnier2024-11-18 10:10:00 -0500
commit8dc9dfdc381f5b75594572bfb3bbfb5126bc4a88 (patch)
tree608be17c87b97eb5f877542869ce5f4e49864993
parent426bce8a6754a112b38a5c6ded75497a0be08718 (diff)
downloademacs-8dc9dfdc381f5b75594572bfb3bbfb5126bc4a88.tar.gz
emacs-8dc9dfdc381f5b75594572bfb3bbfb5126bc4a88.zip
lisp/progmodes/c-ts-mode.el: Demote loading c-ts-mode as a configuration
See bug#74367.
-rw-r--r--lisp/progmodes/c-ts-mode.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 2785e9a6e68..647a9420e0d 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -35,12 +35,6 @@
35;; To use these modes by default, assuming you have the respective 35;; To use these modes by default, assuming you have the respective
36;; tree-sitter grammars available, do one of the following: 36;; tree-sitter grammars available, do one of the following:
37;; 37;;
38;; - If you have both C and C++ grammars installed, add
39;;
40;; (require 'c-ts-mode)
41;;
42;; to your init file.
43;;
44;; - Add one or mode of the following to your init file: 38;; - Add one or mode of the following to your init file:
45;; 39;;
46;; (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode)) 40;; (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode))
@@ -59,6 +53,12 @@
59;; 53;;
60;; will turn on the c++-ts-mode for C++ source files. 54;; will turn on the c++-ts-mode for C++ source files.
61;; 55;;
56;; - If you have both C and C++ grammars installed, add
57;;
58;; (load "c-ts-mode")
59;;
60;; to your init file.
61;;
62;; You can also turn on these modes manually in a buffer. Doing so 62;; You can also turn on these modes manually in a buffer. Doing so
63;; will set up Emacs to use the C/C++ modes defined here for other 63;; will set up Emacs to use the C/C++ modes defined here for other
64;; files, provided that you have the corresponding parser grammar 64;; files, provided that you have the corresponding parser grammar