Possible Duplicate:
Globally override key binding in Emacs
In my .emacs
file, I added a keybinding for control-meta-h
(global-set-key (kbd "C-M-h") 'windmove-left)
It works fine, as long I don't enter c-mode or c++-mode. Both overwrite it by the default behavior, which is c-mark-function
. How you I avoid that my binding is overwritten by the c-mode/c++-mode hook?