emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r104642: * src/process.c (Fset_pr


From: Juanma Barranquero
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 18:16:37 +0200

On Mon, Jun 20, 2011 at 16:26, Stefan Monnier <address@hidden> wrote:
>> -       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.

What's accidental in

  return buffer;

?

    Juanma



reply via email to

[Prev in Thread] Current Thread [Next in Thread]