Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add support for cc extension

  • Loading branch information...
commit 316c3b26c4da4b64c716460b8ab49e3e87c4fa1c 1 parent d69e60d
jgarvin authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 emacs/c-common.el
13 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
Please sign in to comment.
Something went wrong with that request. Please try again.