summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-common.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2024-05-30 12:40:07 +0000
committerAlan Mackenzie <acm@muc.de>2024-05-30 12:40:07 +0000
commit1fdf0f68ccf02cc92e4fb995f82f01a6148b62e7 (patch)
tree46d1d24f26b63ad7bad5c7c922c45b5906aacb76 /lisp/emacs-lisp/comp-common.el
parent39b704e36e308783dcec791d333fca317c6a5202 (diff)
downloademacs-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/comp-common.el')
0 files changed, 0 insertions, 0 deletions