[Python-checkins] CVS: python/dist/src/Misc python-mode.el,4.7,4.8
Barry Warsaw
bwarsaw@users.sourceforge.net
Mon, 18 Mar 2002 10:53:58 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv20440
Modified Files:
python-mode.el
Log Message:
(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.7
retrieving revision 4.8
diff -C2 -d -r4.7 -r4.8
*** python-mode.el 15 Mar 2002 16:46:46 -0000 4.7
--- python-mode.el 18 Mar 2002 18:53:56 -0000 4.8
***************
*** 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)