From: Christopher Schmidt Date: Sat, 2 Feb 2013 06:25:20 +0000 (+0100) Subject: * progmodes/compile.el (compilation-start-hook): Simplify docstring. X-Git-Tag: emacs-24.3.90~173^2~7^2~162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1876c5c7dc05bef18b057abc4eacf24315125fe;p=emacs.git * progmodes/compile.el (compilation-start-hook): Simplify docstring. (Bug#13379) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7c4db96657f..f3e0ab3fb05 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * progmodes/compile.el (compilation-error-regexp-alist-alist): Identify g++ template instantiation trace. (Bug#12287) + (compilation-start-hook): Simplify docstring. (Bug#13379) 2013-02-02 Stefan Monnier diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d4e3fd01f1a..240b1e41d4c 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -48,12 +48,8 @@ ;;;###autoload (defcustom compilation-start-hook nil - "List of hook functions run by `compilation-start' on the compilation process. -\(See `run-hook-with-args'). -If you use \"omake -P\" and do not want \\[save-buffers-kill-terminal] to ask whether you want -the compilation to be killed, you can use this hook: - (add-hook 'compilation-start-hook - (lambda (process) (set-process-query-on-exit-flag process nil)) nil t)" + "Hook run after starting a new compilation process. The hook +is run with one argument, the new process." :type 'hook :group 'compilation)