aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/autocmd.txt16
-rw-r--r--runtime/doc/windows.txt2
2 files changed, 10 insertions, 8 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 5cf8103a74..1aa2a626aa 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -770,13 +770,15 @@ OptionSet After setting an option. The pattern is
it's global or local scoped and |<amatch>|
indicates what option has been set.
- Note: It's a bad idea, to reset an option
- during this autocommand, since this will
- probably break plugins. You can always use
- |:noa| to prevent triggering this autocommand.
- Could be used, to check for existence of the
- 'backupdir' and 'undodir' options and create
- directories, if they don't exist yet.
+ Usage example: Check for the existence of the
+ directory in the 'backupdir' and 'undodir'
+ options, create the directory if it doesn't
+ exist yet.
+
+ Note: It's a bad idea to reset an option
+ during this autocommand, this may break a
+ plugin. You can always use `:noa` to prevent
+ triggering this autocommand.
*QuickFixCmdPre*
QuickFixCmdPre Before a quickfix command is run (|:make|,
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 29c8aaf808..9329fdb4e5 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 7.4. Last change: 2015 Jan 31
+*windows.txt* For Vim version 7.4. Last change: 2015 Jul 21
VIM REFERENCE MANUAL by Bram Moolenaar