|
| From: | Stefan Monnier |
| Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r104642: * src/process.c (Fset_process_buffer): Clarify return value in docstring. |
| Date: | Mon, 20 Jun 2011 10:26:17 -0400 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> - doc: /* Set buffer associated with PROCESS to BUFFER (a buffer, or
> nil). */)
> + doc: /* Set buffer associated with PROCESS to BUFFER (a buffer, or
> nil).
> +Return BUFFER. */)
Actually, I generally prefer not to document the accidental return value
of side-effecting functions. It's poor style anyway to use that return
value, in my book.
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |