The code from .emacs:

(add-hook 'c-mode-common-hook
          '(lambda () (define-key c-mode-map (kbd "M-o") 'kpox-switch-h-cpp))
          )

After I open .CPP file kpox-switch-h-cpp appears in c-mode-map bindings (I checked c-mode-map variable). But pressing M-o doesnt call kpox-switch-h-cpp. An old function from global binding is called (set-face or something similar).

Please advise me what is the problem and how to solve it.

Sent from the Emacs - Help forum at Nabble.com:
Novice question: my add-hook binding for c-mode doesnt work :(