[Top][All Lists]

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

Re: with-current-buffer doc string

From: Edward O'Connor
Subject: Re: with-current-buffer doc string
Date: Thu, 01 Jun 2006 14:19:23 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (darwin)

> C-h f with-current-buffer
>     Execute the forms in body with buffer as the current buffer. The
>     value returned is the value of the last form in body. See also
>     `with-temp-buffer'.
> This says nothing about what buffer is current after
> with-current-buffer. IOW, it does not say that the previously current
> buffer is restored.

`with-current-buffer' simply follows the lisp convention for `with-'
forms in this case. I don't think its docstring needs to explicitly say
this, though perhaps there should be some place (maybe there already is)
in the elisp manual which describes the expected behavior of `with-'


Edward O'Connor

Ense petit placidam sub libertate quietem.

reply via email to

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