From c76a164af2104b31669eeb53d1474d226d84c7ea Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 Feb 1995 04:50:55 +0000 Subject: [PATCH] (auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++. --- lisp/files.el | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5