Commit f63b48bb authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

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

parent 93d102d0
2008-07-24 Dan Nicolaescu <dann@ics.uci.edu> 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. * Makefile.in (ELCFILES): Add term/common-win.elc.
* vc-dir.el (vc-dir-search, vc-dir-isearch) * vc-dir.el (vc-dir-search, vc-dir-isearch)
......
...@@ -1096,6 +1096,11 @@ This does not load the font-lock package. Use after ...@@ -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 '("\\.y\\(acc\\)?\\'" . c-mode))
;;;###autoload (add-to-list 'auto-mode-alist '("\\.lex\\'" . 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 ;;;###autoload
(defun c-mode () (defun c-mode ()
"Major mode for editing K&R and ANSI C code. "Major mode for editing K&R and ANSI C code.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment