从emacser.com上学习到的elisp hooks hook 是一个elisp 表,这个表中存放着要被调用的函数的符号(或代码) emacs 中存在大量的hook ,有emacs-lisp-mode-hook ,c-mode-hook 等,基本上一个mode就提供了一个hook 。