1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-12 18:55:13 -08:00

(auto-mode-alist): Add .i and .ii files.

This commit is contained in:
Dan Nicolaescu 2008-07-24 02:55:59 +00:00
parent 93d102d029
commit f63b48bb47
2 changed files with 7 additions and 0 deletions

View 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)

View 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.