commit | b73c0c0b09a5b329e9ec095ccd5b3f2706f5d56b | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Fri Nov 05 15:25:53 2004 +0000 |
committer | David Lawrence Ramsey <pooka109@gmail.com> | Fri Nov 05 15:25:53 2004 +0000 |
tree | 2af5f8210080ddfd0cf86ea338a11b3ad7f41a41 | |
parent | 1539837fe0fd5ff9692a108984ac80208f009718 [diff] |
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