summaryrefslogtreecommitdiff
path: root/runtime/doc/editing.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-02-09 17:07:58 +0100
committerBram Moolenaar <Bram@vim.org>2011-02-09 17:07:58 +0100
commitd58e929fa283459957b0eab635fdaa9dcd61819c (patch)
tree92c871586e91c3c33b0a7447f12cc9a6d7184c30 /runtime/doc/editing.txt
parent95474ca34c542d58d3f08703b7d96ad21b05beea (diff)
downloadvim-d58e929fa283459957b0eab635fdaa9dcd61819c.zip
Updated runtime files and translations.
Diffstat (limited to 'runtime/doc/editing.txt')
-rw-r--r--runtime/doc/editing.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index b03487d62..26f712f18 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 7.3. Last change: 2010 Dec 08
+*editing.txt* For Vim version 7.3. Last change: 2011 Jan 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -984,6 +984,11 @@ explanation of when the copy is made and when the file is renamed.
If the creation of a backup file fails, the write is not done. If you want
to write anyway add a '!' to the command.
+ *write-permissions*
+When writing a new file the permissions are read-write. For unix the mask is
+0666 with additionally umask applied. When writing a file that was read Vim
+will preserve the permissions, but clear the s-bit.
+
*write-readonly*
When the 'cpoptions' option contains 'W', Vim will refuse to overwrite a
readonly file. When 'W' is not present, ":w!" will overwrite a readonly file,