]> granicus.if.org Git - vim/commitdiff
updated for version 7.0122
authorBram Moolenaar <Bram@vim.org>
Mon, 1 Aug 2005 21:52:12 +0000 (21:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 1 Aug 2005 21:52:12 +0000 (21:52 +0000)
runtime/doc/message.txt

index 0784da01ca88cd5c52cd60037c9b2d8cceee1624..a1c18bed9962a3614b6c6775c0b02596ac3918ed 100644 (file)
@@ -1,4 +1,4 @@
-*message.txt*   For Vim version 7.0aa.  Last change: 2005 Jul 28
+*message.txt*   For Vim version 7.0aa.  Last change: 2005 Aug 01
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -287,6 +287,19 @@ Example: >
 changes to: >
        :w! /tmp/test
 <
+                                                       *E768*  >
+  Swap file exists: {filename} (:silent! overrides)
+
+You are protected from overwriting a file that is being edited by Vim.  This
+happens when you use ":w! filename" and a swapfile is found.
+- If the swapfile was left over from an old crashed edit session you may want
+  to delete the swapfile.  Edit {filename} to find out information about the
+  swapfile.
+- If you want to write anyway prepend ":silent!" to the command.  For example: >
+       :silent! w! /tmp/test
+< The special command is needed, since you already added the ! for overwriting
+  an existing file.
+
                                                        *E139*  >
   File is loaded in another buffer