]> git.wh0rd.org Git - nano.git/commit
if we're not inserting a file into a new buffer, partition the current
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 5 Nov 2004 15:25:53 +0000 (15:25 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 5 Nov 2004 15:25:53 +0000 (15:25 +0000)
commitb73c0c0b09a5b329e9ec095ccd5b3f2706f5d56b
tree2af5f8210080ddfd0cf86ea338a11b3ad7f41a41
parent1539837fe0fd5ff9692a108984ac80208f009718
if we're not inserting a file into a new buffer, partition the current
buffer so that it's effectively a new buffer just before inserting the
file, and only restore placewewant afterwards; this is the same behavior
we would get if we opened the file, added all of it to the cutbuffer,
uncut at the current cursor position, and closed the file

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2062 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
ChangeLog
src/files.c
src/global.c
src/nano.c
src/nano.h
src/proto.h