Permalink
Browse files

add support for cc extension

  • Loading branch information...
1 parent d69e60d commit 316c3b26c4da4b64c716460b8ab49e3e87c4fa1c @jgarvin committed Mar 8, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 emacs/c-common.el
View
@@ -176,12 +176,13 @@
;; Switch between source and header
;;------------
;; Association list of extension -> inverse extension
-(setq exts '(("c" . ("h" "H"))
- ("cpp" . ("hpp" "h" "H"))
- ("hpp" . ("cpp" "c" "C"))
- ("h" . ("cpp" "c" "C"))
- ("H" . ("cpp" "c" "C"))
- ("C" . ("hpp" "h" "H"))))
+(setq exts '(("c" . ("hpp" "h" "H"))
+ ("cc" . ("hpp" "h" "H"))
+ ("cpp" . ("hpp" "h" "H"))
+ ("hpp" . ("cpp" "c" "C" "cc" "CC"))
+ ("h" . ("cpp" "c" "C" "cc" "CC"))
+ ("H" . ("cpp" "c" "C" "cc" "CC"))
+ ("C" . ("hpp" "h" "H"))))
;; Process the association list of extensions and find the last file
;; that exists

0 comments on commit 316c3b2

Please sign in to comment.