aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-02-11 04:50:55 +0000
committerRichard M. Stallman <[email protected]>1995-02-11 04:50:55 +0000
commitc76a164af2104b31669eeb53d1474d226d84c7ea (patch)
tree0ac255809aa0c63edf5c9bda47685fccc133a8f7 /lisp/files.el
parent10f7c7fc296a638aa3b4142576b43a04cc18254f (diff)
(auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 18933c87a9..119caf4242 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