diff options
| author | Michael Albinus | 2024-11-16 13:35:30 +0100 |
|---|---|---|
| committer | Michael Albinus | 2024-11-16 13:35:30 +0100 |
| commit | fc52cb8d74151bcac18d534529517a0a1845ad2e (patch) | |
| tree | 4632ff72d0d1f1bef31eca8b9d1b78c04fdc849c | |
| parent | 81816800628f1eef1928eee3ccf9a2f8b53ab9a7 (diff) | |
| download | emacs-fc52cb8d74151bcac18d534529517a0a1845ad2e.tar.gz emacs-fc52cb8d74151bcac18d534529517a0a1845ad2e.zip | |
; etc/NEWS: Fix example indentation.
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -116,12 +116,12 @@ non-Tree-Sitter mode, customize the user option 'major-mode-remap-alist' | |||
| 116 | to specify that a non-Tree-Sitter mode is "remapped" to itself. For | 116 | to specify that a non-Tree-Sitter mode is "remapped" to itself. For |
| 117 | example: | 117 | example: |
| 118 | 118 | ||
| 119 | (add-to-list 'major-mode-remap-alist '(c-mode)) | 119 | (add-to-list 'major-mode-remap-alist '(c-mode)) |
| 120 | 120 | ||
| 121 | specifies that C Mode should not be remapped to 'c-ts-mode' even if and | 121 | specifies that C Mode should not be remapped to 'c-ts-mode' even if and |
| 122 | when 'c-ts-mode' is loaded. Conversely, | 122 | when 'c-ts-mode' is loaded. Conversely, |
| 123 | 123 | ||
| 124 | (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode)) | 124 | (add-to-list 'major-mode-remap-alist '(c-mode . c-ts-mode)) |
| 125 | 125 | ||
| 126 | tells Emacs to always invoke 'c-ts-mode' whenever 'c-mode' is | 126 | tells Emacs to always invoke 'c-ts-mode' whenever 'c-mode' is |
| 127 | requested, either by 'auto-mode-alist' or by file/directory-local | 127 | requested, either by 'auto-mode-alist' or by file/directory-local |