Example editing: Allow multiple editing buffers
commitcc50f835832a588572f9ae720b6016a61c81b688
authorCarsten Dominik <carsten.dominik@gmail.com>
Sat, 16 May 2009 15:08:24 +0000 (16 17:08 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sat, 16 May 2009 15:08:24 +0000 (16 17:08 +0200)
treee9263b7d234aaf4cb92773201b0a39a6020fdc02
parent0c29415de882eac0af94f0094616dfd79cb1b6ec
Example editing: Allow multiple editing buffers

Hsiu-Khuern Tang writes:

> Hi Carsten,
>
> You recently changed org-edit-src-code to use a separate buffer
> instead of an indirect buffer.  One side effect of this is that I
> can no longer edit several code examples at the same time:
> opening the second buffer will silently discard any changes made
> in the first.  I would prefer this behavior: when opening the
> second edit source buffer, write any changes in the first buffer
> to the originating Org buffer (but don't save it, of course).
>
> Another approach is to use different buffer names.

The better approach is clearly to allow several buffers, now
implemented with this commit.
doc/ChangeLog
doc/org.texi
lisp/ChangeLog
lisp/org.el