Run prog-mode-hooks in C++ and elisp mode in Emacs 23