diff options
author | Michael W. Hudson <mwh@python.net> | 2002-03-25 12:24:24 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-03-25 12:24:24 (GMT) |
commit | 4b9fa7373c82c3a8b9d9a7decfffc601419036cc (patch) | |
tree | 4114ca685f1d6ebf80595331b41352eb87b428b1 | |
parent | 799699d82ac339e8d65ca9a4cfcf20f40e13082a (diff) | |
download | cpython-4b9fa7373c82c3a8b9d9a7decfffc601419036cc.zip cpython-4b9fa7373c82c3a8b9d9a7decfffc601419036cc.tar.gz cpython-4b9fa7373c82c3a8b9d9a7decfffc601419036cc.tar.bz2 |
backport bwarsaw's checkin of
revision 4.8 of python-mode.el
(py-temp-directory): Add /var/tmp to the list of directories this
searches. This is added after /tmp. Closes SF bug #505488, except
that /var/tmp comes after /tmp instead of the patch's suggestion of
putting it before /usr/tmp.
-rw-r--r-- | Misc/python-mode.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 868ff6f..aaf5c9e 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -204,13 +204,14 @@ as indentation hints, unless the comment character is in column zero." (or (funcall ok (getenv "TMPDIR")) (funcall ok "/usr/tmp") (funcall ok "/tmp") + (funcall ok "/var/tmp") (funcall ok ".") (error "Couldn't find a usable temp directory -- set `py-temp-directory'"))) - "*Directory used for temp files created by a *Python* process. + "*Directory used for temporary files created by a *Python* process. By default, the first directory from this list that exists and that you -can write into: the value (if any) of the environment variable TMPDIR, -/usr/tmp, /tmp, or the current directory." +can write into: the value (if any) of the environment variable TMPDIR, +/usr/tmp, /tmp, /var/tmp, or the current directory." :type 'string :group 'python) |