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...d0f745fDocument some compilation-mode faces23ccba0Mention the assignment form in "Copyright Assignment"0f5568eFix confusing wording in the user manual70ec392Fix the MSDOS build when running under CWSDPMI7a608fc* lisp/progmodes/python.el: Be more careful about temp file r...
This commit is contained in:
commit
0797897f34
9 changed files with 37 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue