keybinding failed

This commit is contained in:
Sameer Rahmani 2010-12-30 17:02:09 +03:30
parent 1cea9d1197
commit 7395023ec3
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@
(defun init-key-bindings ()
"Initialize the required key bindings for C/C++ project."
(define-key c-mode (kbd "\C-c \C-c") 'compile)
(define-key global-map (kbd "\C-c \C-c") 'compile)
)
@ -80,6 +80,7 @@
(cd project-path)
(init-key-bindings)
(find-file (concat unix-project-name ".c"))
(message major-mode)
)