BTW, the docstrings of `compilation-mode-hook' doesn't match the code. I suppose that the code is right and that only docstrings need to be fixed:
Index: lisp/progmodes/compile.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/progmodes/compile.el,v retrieving revision 1.363 diff -u -r1.363 compile.el --- lisp/progmodes/compile.el 28 Jun 2005 18:57:00 -0000 1.363 +++ lisp/progmodes/compile.el 4 Jul 2005 00:29:16 -0000 @@ -78,7 +78,7 @@ ;;;###autoload (defcustom compilation-mode-hook nil - "*List of hook functions run by `compilation-mode' (see `run-hooks')." + "*List of hook functions run by `compilation-mode' (see `run-mode-hooks')." :type 'hook :group 'compilation) @@ -1213,7 +1213,7 @@ move point to the error message line and type \\[compile-goto-error]. To kill the compilation, type \\[kill-compilation]. -Runs `compilation-mode-hook' with `run-hooks' (which see). +Runs `compilation-mode-hook' with `run-mode-hooks' (which see). \\{compilation-mode-map}" (interactive) -- Juri Linkov http://www.jurta.org/emacs/ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel