aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 650f030067c..8b7acc6b74c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1213,7 +1213,6 @@ FILE-NAME."
1213 (file-name (or (expand-file-name file-name) temp-file-name))) 1213 (file-name (or (expand-file-name file-name) temp-file-name)))
1214 (when (not file-name) 1214 (when (not file-name)
1215 (error "If FILE-NAME is nil then TEMP-FILE-NAME must be non-nil")) 1215 (error "If FILE-NAME is nil then TEMP-FILE-NAME must be non-nil"))
1216 (find-file-noselect file-name)
1217 (with-current-buffer (process-buffer process) 1216 (with-current-buffer (process-buffer process)
1218 (setq inferior-python-mode-current-file 1217 (setq inferior-python-mode-current-file
1219 (convert-standard-filename file-name))) 1218 (convert-standard-filename file-name)))