]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++.
authorRichard M. Stallman <rms@gnu.org>
Sat, 11 Feb 1995 04:50:55 +0000 (04:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 11 Feb 1995 04:50:55 +0000 (04:50 +0000)
lisp/files.el

index 18933c87a9592a98dc06fa6b4a07037f994ee48e..119caf4242a2508f4caf8f9ddca92d1114a067de 100644 (file)
@@ -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