]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-mode-alist): Add .i and .ii files.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 24 Jul 2008 02:55:59 +0000 (02:55 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 24 Jul 2008 02:55:59 +0000 (02:55 +0000)
lisp/ChangeLog
lisp/progmodes/cc-mode.el

index 3de0a1f65e59b420cb2be5bc5569ea9cdf70ca13..034cbb8e33ef0db6097c7fb6a78cc65a6ac0c4ea 100644 (file)
@@ -1,5 +1,7 @@
 2008-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * progmodes/cc-mode.el (auto-mode-alist): Add .i and .ii files.
+
        * Makefile.in (ELCFILES): Add term/common-win.elc.
 
        * vc-dir.el (vc-dir-search, vc-dir-isearch)
index 747b35be00aa6c5e837b909a5f15e65a1dcfc729..06f94bde94ad290ce3f458aa79b8fa57b6c31273 100644 (file)
@@ -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.