Fixing prog-mode-hook.