emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: doc string of with-temp-file


From: Stefan Monnier
Subject: Re: doc string of with-temp-file
Date: Tue, 27 Dec 2005 11:17:13 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The doc string of with-temp-file should mention that the new buffer
> created is killed at the end.

> I tried to do this:

> (unwind-protect
>     (with-temp-file "foo" (pp something (current-buffer)))
>   (kill-buffer "foo"))

You seem to also be confusing it with `with-temp-buffer'.


        Stefan




reply via email to

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