I wrote this code to bind both
(defun dg/cedet-hook() (add-to-list 'ac-sources 'ac-source-semantic) (local-set-key (kbd "C-c C-j") 'semantic-ia-fast-jump) (local-set-key (kbd "M-c") 'compile) (local-set-key (kbd "<f5>") 'compile) (yas-global-mode 1) ) (add-hook 'c-mode-common-hook 'dg/cedet-hook)
But, when I open a .cpp file Emacs returns the following error:
File mode specification error: (invalid-function (local-set-key (kbd <f5>) (quote compile)))
I don't undertand what's wrong in the syntax above, and why the error triggers in only the statement which uses
Any clue? Thanks in advance.