mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
lisp/progmodes/c-ts-mode.el: Demote loading c-ts-mode as a configuration
See bug#74367.
This commit is contained in:
parent
426bce8a67
commit
8dc9dfdc38
1 changed files with 6 additions and 6 deletions
|
|
@ -35,12 +35,6 @@
|
||||||
;; To use these modes by default, assuming you have the respective
|
;; To use these modes by default, assuming you have the respective
|
||||||
;; tree-sitter grammars available, do one of the following:
|
;; 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 one or mode of the following to your init file:
|
||||||
;;
|
;;
|
||||||
;; (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode))
|
;; (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode))
|
||||||
|
|
@ -59,6 +53,12 @@
|
||||||
;;
|
;;
|
||||||
;; will turn on the c++-ts-mode for C++ source files.
|
;; 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
|
;; 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
|
;; will set up Emacs to use the C/C++ modes defined here for other
|
||||||
;; files, provided that you have the corresponding parser grammar
|
;; files, provided that you have the corresponding parser grammar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue