[Python-checkins] CVS: python/dist/src/Misc python-mode.el,4.6.18.1,4.6.18.2
Michael Hudson
mwh@users.sourceforge.net
Mon, 25 Mar 2002 04:24:26 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv25709
Modified Files:
Tag: release22-maint
python-mode.el
Log Message:
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.
Index: python-mode.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python-mode.el,v
retrieving revision 4.6.18.1
retrieving revision 4.6.18.2
diff -C2 -d -r4.6.18.1 -r4.6.18.2
*** python-mode.el 16 Mar 2002 18:03:42 -0000 4.6.18.1
--- python-mode.el 25 Mar 2002 12:24:24 -0000 4.6.18.2
***************
*** 205,215 ****
(funcall ok "/usr/tmp")
(funcall ok "/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.
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."
:type 'string
:group 'python)
--- 205,216 ----
(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 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, /var/tmp, or the current directory."
:type 'string
:group 'python)