> My point is that the doc string of `with-temp-file' says that
> a new buffer is _created_, used to evaluate stuff, and then
> written to its file. It says nothing about the buffer being
> _temporary_ (i.e., being deleted after being saved).
Indeed it doesn
> My point is that the doc string of `with-temp-file' says that a new buffer
> is _created_, used to evaluate stuff, and then written to its file.
> It says nothing about the buffer being _temporary_ (i.e., being deleted
> after being saved).
Indeed it doesn't a
> 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"))
> 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
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"))
If the doc string had been clearer, I would only have do