[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111661: * progmodes/compile.el (
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111661: * progmodes/compile.el (compilation-start-hook): Simplify docstring. |
Date: |
Sat, 02 Feb 2013 10:29:53 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> - "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."
I like part of this simplification, but the first line of a docstring
should "stand on its own" (i.e. it shouldn't end in the middle of
a sentence). In this case, the best is to cut the line between
"process." and "The hook".
Stefan
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111661: * progmodes/compile.el (compilation-start-hook): Simplify docstring.,
Stefan Monnier <=