1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 18:10:32 -08:00

Merge from origin/emacs-26

a1c53d4 (origin/emacs-26) * admin/admin.el (make-manuals-dist--1): Up...
d0f745f Document some compilation-mode faces
23ccba0 Mention the assignment form in "Copyright Assignment"
0f5568e Fix confusing wording in the user manual
70ec392 Fix the MSDOS build when running under CWSDPMI
7a608fc * lisp/progmodes/python.el: Be more careful about temp file r...
This commit is contained in:
Glenn Morris 2019-04-17 09:32:40 -07:00
commit 0797897f34
9 changed files with 37 additions and 15 deletions

View file

@ -2303,15 +2303,16 @@ detection and just returns nil."
;; carriage returns in unbuffered mode.
(let ((inhibit-eol-conversion (getenv "PYTHONUNBUFFERED")))
(python-shell--save-temp-file code))))
;; Use `process-file' as it is remote-host friendly.
(process-file
interpreter
code-file
'(t nil)
nil
interpreter-arg)
;; Try to cleanup
(delete-file code-file)))
(unwind-protect
;; Use `process-file' as it is remote-host friendly.
(process-file
interpreter
code-file
'(t nil)
nil
interpreter-arg)
;; Try to cleanup
(delete-file code-file))))
(buffer-string)))
(prompts
(catch 'prompts