summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/find-file.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/find-file.el b/lisp/find-file.el
index e02bea06fc0..d3691694d17 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -242,11 +242,11 @@ the preceding slash. The star represents all the subdirectories except
(defcustom cc-other-file-alist
'(("\\.cc\\'" (".hh" ".h"))
- ("\\.hh\\'" (".cc" ".C"))
+ ("\\.hh\\'" (".cc" ".C" ".CC" ".cxx" ".cpp" ".c++"))
("\\.c\\'" (".h"))
("\\.m\\'" (".h"))
- ("\\.h\\'" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".m"))
+ ("\\.h\\'" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".c++" ".m"))
("\\.C\\'" (".H" ".hh" ".h"))
("\\.H\\'" (".C" ".CC"))