term-mode-hook