18 Dec
2011
18 Dec
'11
8:58 p.m.
Hi: Frank and List: I have this snipped of code in my .emacs and I want to use :A instead of \c-ct for eassist-switch-h-cpp. (require 'eassist) (defun c-mode-cedet-hook () (local-set-key "." 'semantic-complete-self-insert) (local-set-key ">" 'semantic-complete-self-insert) (local-set-key "\C-ct" 'eassist-switch-h-cpp) ;; switch between corresponding h and cpp files (local-set-key "\C-xt" 'eassist-switch-h-cpp) (local-set-key "\C-ce" 'eassist-list-methods) (local-set-key "\C-c\C-r" 'semantic-symref) ) (add-hook 'c-mode-common-hook 'c-mode-cedet-hook) I added (local-set-key ":A" 'eassist-switch-h-cpp) to the .emacs but it doesn't work.. Thanks! Jim.