aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-mode.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 747b35be00a..06f94bde94a 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1096,6 +1096,11 @@ This does not load the font-lock package. Use after
1096;;;###autoload (add-to-list 'auto-mode-alist '("\\.y\\(acc\\)?\\'" . c-mode)) 1096;;;###autoload (add-to-list 'auto-mode-alist '("\\.y\\(acc\\)?\\'" . c-mode))
1097;;;###autoload (add-to-list 'auto-mode-alist '("\\.lex\\'" . c-mode)) 1097;;;###autoload (add-to-list 'auto-mode-alist '("\\.lex\\'" . c-mode))
1098 1098
1099;; Preprocessed files generated by C and C++ compilers.
1100;;;###autoload (add-to-list 'auto-mode-alist '("\\.i\\'" . c-mode))
1101;;;###autoload (add-to-list 'auto-mode-alist '("\\.ii\\'" . c++-mode))
1102
1103
1099;;;###autoload 1104;;;###autoload
1100(defun c-mode () 1105(defun c-mode ()
1101 "Major mode for editing K&R and ANSI C code. 1106 "Major mode for editing K&R and ANSI C code.