Commit 3e3fab5a authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

wrt DB's overhaul of the cutting code and related file-writing code:

document the changes to the latter (in write_file() and do_writeout())
in the Changelog; I stupidly forgot to do this before


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1626 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 13 additions and 1 deletion
+13 -1
...@@ -69,12 +69,24 @@ GNU nano 1.3.1 - 2004.01.09 ...@@ -69,12 +69,24 @@ GNU nano 1.3.1 - 2004.01.09
as being outside the operating directory when tab completion as being outside the operating directory when tab completion
is being used, and cosmetic cleanups. (David Benbennick) is being used, and cosmetic cleanups. (David Benbennick)
copy_file() copy_file()
- New function containing part of the functionality formerly in - New function used to create a copy of a file, split out from
do_writeout(). (David Benbennick) do_writeout(). (David Benbennick)
write_file()
- Completely overhauled to properly ignore appending/prepending
to symlinks when NOFOLLOW_SYMLINKS is defined, to properly
support writing a selection to a file under the changed
cutting code, to have more concise error messages, to add
various cleanups, and so on. (David Benbennick)
do_writeout() do_writeout()
- Prompt the user if we're trying to save an existing file (and - Prompt the user if we're trying to save an existing file (and
not just a selection of it) under a different name. (DLR; not just a selection of it) under a different name. (DLR;
suggested by Jean-Philippe Guérard) suggested by Jean-Philippe Guérard)
- Overhaul the code used to write a selection of a file to
temporarily set fileage and filebot to the top and bottom of
the selection and then call write_file(), instead of following
the old hackish behavior with cut_marked_segment() (which
won't work after the cutting code changes anyway). (David
Benbennick)
open_prevfile(), open_nextfile() open_prevfile(), open_nextfile()
- For consistency with the rest of the multibuffer code, change - For consistency with the rest of the multibuffer code, change
"No more open files" to "No more open file buffers". (DLR) "No more open files" to "No more open file buffers". (DLR)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment