add prog-mode hooks