Commit f8dce815 authored by Glenn Morris's avatar Glenn Morris
Browse files

(make-temp-file): Handle empty `prefix'. (Bug#1081)

parent a80a6b03
2008-10-04 Glenn Morris <rgm@gnu.org>
 
* files.el (make-temp-file): Handle empty `prefix'. (Bug#1081)
* vc-svn.el (vc-svn-after-dir-status): Handle `svn status -u' output.
(vc-svn-dir-status): Respect vc-stay-local-p. (Bug#1046)
 
......
......@@ -976,7 +976,11 @@ If SUFFIX is non-nil, add that at the end of the file name."
(progn
(setq file
(make-temp-name
(expand-file-name prefix temporary-file-directory)))
(if (zerop (length prefix))
(file-name-as-directory
temporary-file-directory)
(expand-file-name prefix
temporary-file-directory))))
(if suffix
(setq file (concat file suffix)))
(if dir-flag
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment