From a683d06b31056f38e196818f5dddb3b7c26a48eb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 12 Feb 2013 16:42:56 -0800 Subject: [PATCH] * cmdargs.texi (General Variables): Fix TMPDIR documentation to match the code's behavior. --- doc/emacs/ChangeLog | 5 +++++ doc/emacs/cmdargs.texi | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index bcd9c0c0693..e5404a15c59 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2013-02-13 Paul Eggert + + * cmdargs.texi (General Variables): + Fix TMPDIR documentation to match the code's behavior. + 2013-02-10 Glenn Morris * trouble.texi (Checklist): Update bug keybinding. diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index c4a74042865..19b439afc7f 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi @@ -567,10 +567,9 @@ terminal specified by @env{TERM}. This defaults to These environment variables are used to initialize the variable @code{temporary-file-directory}, which specifies a directory in which to put temporary files (@pxref{Backup}). Emacs tries to use -@env{TMPDIR} first; if that is unset, it tries @env{TMP}, then -@env{TEMP}, and finally @file{/tmp}. But on MS-Windows and MS-DOS, -Emacs tries @env{TEMP}, then @env{TMPDIR}, then @env{TMP}, and finally -@file{c:/temp}. +@env{TMPDIR} first. If that is unset, Emacs normally falls back on +@file{/tmp}, but on MS-Windows and MS-DOS it instead falls back on +@env{TMP}, then @env{TEMP}, and finally @file{c:/temp}. @item TZ This specifies the current time zone and possibly also daylight -- 2.39.5