> Tested on Windows, maybe it also happens on UNIX.
>
> start cmd. Execute "gvim -U NONE -u NONE test.c". Notice that test.c
> must not exist.
>
> :set ff=unix
> :w
> :echo &modified
>
> Then it shows "1". But if I don't execute ":set ff=unix", then ":echo
> &modified" shows 0. Is it supposed to be like this?
That is weird. On Unix it happens with ":set ff=dos".
--
You cannot have a baby in one month by getting nine women pregnant.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment