move whitespace-mode to prog-mode-hook