diff options
author | Dan Nicolaescu <[email protected]> | 2008-07-24 02:55:59 +0000 |
---|---|---|
committer | Dan Nicolaescu <[email protected]> | 2008-07-24 02:55:59 +0000 |
commit | f63b48bb47efca9b8aae79df85be8d832c6523dc (patch) | |
tree | a2f76d9443420f5d5319d10be60cb702636cf990 /lisp/progmodes/cc-mode.el | |
parent | 93d102d029569715f7adc2519fb9e388feb0e840 (diff) |
(auto-mode-alist): Add .i and .ii files.
Diffstat (limited to 'lisp/progmodes/cc-mode.el')
-rw-r--r-- | lisp/progmodes/cc-mode.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 747b35be00..06f94bde94 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 ;;;###autoload (add-to-list 'auto-mode-alist '("\\.y\\(acc\\)?\\'" . c-mode)) ;;;###autoload (add-to-list 'auto-mode-alist '("\\.lex\\'" . c-mode)) +;; Preprocessed files generated by C and C++ compilers. +;;;###autoload (add-to-list 'auto-mode-alist '("\\.i\\'" . c-mode)) +;;;###autoload (add-to-list 'auto-mode-alist '("\\.ii\\'" . c++-mode)) + + ;;;###autoload (defun c-mode () "Major mode for editing K&R and ANSI C code. |