summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/progmodes/compile.el8
2 files changed, 3 insertions, 6 deletions
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 <monnier@iro.umontreal.ca>
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)