oops, Pico doesn't preserve placewewant when inserting a file; we do it

for consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1983 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-10-09 20:16:17 +00:00
parent 1929982ec3
commit 731e7f28e7
1 changed files with 1 additions and 2 deletions

View File

@ -85,8 +85,7 @@ CVS code -
- Add missing #ifdefs around the wrap_reset() call so that nano
compiles with wrapping disabled again. (DLR)
- When inserting a file in non-multibuffer mode, preserve
placewewant as well as current_x, for compatibility with
Pico. (DLR)
placewewant as well as current_x, for consistency. (DLR)
do_writeout()
- Restructure if blocks for greater efficiency, using
do_insertfile() as a model. (DLR)