summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_05.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/usr_05.txt')
-rw-r--r--runtime/doc/usr_05.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt
index 0bac988d7..8164196da 100644
--- a/runtime/doc/usr_05.txt
+++ b/runtime/doc/usr_05.txt
@@ -1,4 +1,4 @@
-*usr_05.txt* For Vim version 7.2. Last change: 2007 May 11
+*usr_05.txt* For Vim version 7.2. Last change: 2009 Jun 04
VIM USER MANUAL - by Bram Moolenaar
@@ -205,8 +205,8 @@ to 78, but only locally in one file.
*restore-cursor* >
autocmd BufReadPost *
- \ if line("'\"") > 0 && line("'\"") <= line("$") |
- \ exe "normal g`\"" |
+ \ if line("'\"") > 1 && line("'\"") <= line("$") |
+ \ exe "normal! g`\"" |
\ endif
Another autocommand. This time it is used after reading any file. The