diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7a90f0bb5ee..b3918e906e9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2046,6 +2046,8 @@ there for compatibility with CEDET.") | |||
| 2046 | (with-temp-file temp-file-name | 2046 | (with-temp-file temp-file-name |
| 2047 | (insert "# -*- coding: utf-8 -*-\n") ;Not needed for Python-3. | 2047 | (insert "# -*- coding: utf-8 -*-\n") ;Not needed for Python-3. |
| 2048 | (insert string) | 2048 | (insert string) |
| 2049 | (insert (format "\n\nimport os ; os.remove('''%s''')\n" | ||
| 2050 | temp-file-name)) | ||
| 2049 | (delete-trailing-whitespace)) | 2051 | (delete-trailing-whitespace)) |
| 2050 | temp-file-name)) | 2052 | temp-file-name)) |
| 2051 | 2053 | ||