Changed to prog-mode-hooks from hacked-together emacs23 lines.