diff options
author | Alan Mackenzie <acm@muc.de> | 2024-05-30 12:40:07 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2024-05-30 12:40:07 +0000 |
commit | 1fdf0f68ccf02cc92e4fb995f82f01a6148b62e7 (patch) | |
tree | 46d1d24f26b63ad7bad5c7c922c45b5906aacb76 /lisp/emacs-lisp | |
parent | 39b704e36e308783dcec791d333fca317c6a5202 (diff) | |
download | emacs-1fdf0f68ccf02cc92e4fb995f82f01a6148b62e7.tar.gz emacs-1fdf0f68ccf02cc92e4fb995f82f01a6148b62e7.tar.bz2 emacs-1fdf0f68ccf02cc92e4fb995f82f01a6148b62e7.zip |
In normal-mode, make c-mode call c-mode when CC Mode is loaded
As regards which mode normal-mode calls for the symbols c-mode,
etc., the first of the following which applies holds:
(i) If the user has made a pertinent entry in
major-mode-remap-alist, this is used.
(ii) If CC Mode has been loaded, c-mode is called.
(iii) If library c-ts-mode has been loaded, c-ts-mode is
called.
(iv) Otherwise c-mode is called.
* lisp/progmodes/cc-mode.el (top level): Add entries to
major-mode-remap-defaults to implement the above.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions