From: Richard M. Stallman Date: Sat, 11 Feb 1995 04:50:55 +0000 (+0000) Subject: (auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++. X-Git-Tag: emacs-19.34~5145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c76a164af2104b31669eeb53d1474d226d84c7ea;p=emacs.git (auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++. --- diff --git a/lisp/files.el b/lisp/files.el index 18933c87a95..119caf4242a 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -834,6 +834,11 @@ run `normal-mode' explicitly." ("\\.hh\\'" . c++-mode) ("\\.C\\'" . c++-mode) ("\\.H\\'" . c++-mode) + ("\\.cpp\\'" . c++-mode) + ("\\.cxx\\'" . c++-mode) + ("\\.hxx\\'" . c++-mode) + ("\\.c++\\'" . c++-mode) + ("\\.h++\\'" . c++-mode) ;;; ("\\.mk\\'" . makefile-mode) ;;; ("[Mm]akefile" . makefile-mode) ;;; Less common extensions come here