forked from mirrors/org-mode
ob-screen, use unpredictable temp file name
* lisp/ob-screen.el (org-babel-screen-test): Use unpredictable name for temporary file.
This commit is contained in:
parent
7515066d94
commit
e599e8cd51
|
@ -121,7 +121,7 @@ The terminal should shortly flicker."
|
|||
(interactive)
|
||||
(let* ((session "org-babel-testing")
|
||||
(random-string (format "%s" (random 99999)))
|
||||
(tmpfile "/tmp/org-babel-screen.test")
|
||||
(tmpfile (org-babel-temp-file "ob-screen-test-"))
|
||||
(body (concat "echo '" random-string "' > " tmpfile "\nexit\n"))
|
||||
process tmp-string)
|
||||
(org-babel-execute:screen body org-babel-default-header-args:screen)
|
||||
|
|
Loading…
Reference in a new issue