lisp/progmodes/c-ts-mode.el: Demote loading c-ts-mode as a configuration
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 18 Nov 2024 15:10:00 +0000 (10:10 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 18 Nov 2024 15:10:00 +0000 (10:10 -0500)
See bug#74367.

lisp/progmodes/c-ts-mode.el

index 2785e9a6e68d12323ac16e2aa0dc857de151750c..647a9420e0dc315ec619e79f360e503c0036e0ed 100644 (file)
 ;; To use these modes by default, assuming you have the respective
 ;; tree-sitter grammars available, do one of the following:
 ;;
-;; - If you have both C and C++ grammars installed, add
-;;
-;;    (require 'c-ts-mode)
-;;
-;;   to your init file.
-;;
 ;; - Add one or mode of the following to your init file:
 ;;
 ;;    (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode))
 ;;
 ;;   will turn on the c++-ts-mode for C++ source files.
 ;;
+;; - If you have both C and C++ grammars installed, add
+;;
+;;     (load "c-ts-mode")
+;;
+;;   to your init file.
+;;
 ;; You can also turn on these modes manually in a buffer.  Doing so
 ;; will set up Emacs to use the C/C++ modes defined here for other
 ;; files, provided that you have the corresponding parser grammar