Mercurial > emacs
diff lisp/progmodes/cc-mode.el @ 96966:729f146c194c
(auto-mode-alist): Add .i and .ii files.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 24 Jul 2008 02:55:59 +0000 |
parents | 59d141ae8c74 |
children | 9637a590d441 |
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el Thu Jul 24 02:40:57 2008 +0000 +++ b/lisp/progmodes/cc-mode.el Thu Jul 24 02:55:59 2008 +0000 @@ -1096,6 +1096,11 @@ ;;;###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.