summaryrefslogtreecommitdiff
path: root/src/os_dos.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-12-07 14:32:09 +0100
committerBram Moolenaar <Bram@vim.org>2013-12-07 14:32:09 +0100
commitb050c6418647c5358564e4608e8bb6ac7caa93b8 (patch)
tree5b2c0fb26708bb119898c559cc23a6aa8223030a /src/os_dos.h
parentc2401d62e0f8de45598c8ed7d9e9b09227f6682d (diff)
downloadvim-git-b050c6418647c5358564e4608e8bb6ac7caa93b8.tar.gz
updated for version 7.4.112v7.4.112
Problem: The defaults for 'directory' and 'backupdir' on MS-Windows do not include a directory that exists. Solution: Use $TEMP.
Diffstat (limited to 'src/os_dos.h')
-rw-r--r--src/os_dos.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_dos.h b/src/os_dos.h
index 17246d4f7..19748c496 100644
--- a/src/os_dos.h
+++ b/src/os_dos.h
@@ -109,7 +109,7 @@
#endif
#ifndef DFLT_BDIR
-# define DFLT_BDIR ".,c:\\tmp,c:\\temp" /* default for 'backupdir' */
+# define DFLT_BDIR ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'backupdir' */
#endif
#ifndef DFLT_VDIR
@@ -117,7 +117,7 @@
#endif
#ifndef DFLT_DIR
-# define DFLT_DIR ".,c:\\tmp,c:\\temp" /* default for 'directory' */
+# define DFLT_DIR ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'directory' */
#endif
#define DFLT_ERRORFILE "errors.err"