summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina <fgallina@gnu.org>2015-08-21 23:42:01 -0300
committerFabián Ezequiel Gallina <fgallina@gnu.org>2015-08-21 23:42:01 -0300
commit66081ad6f4dba44b64c809cde5f4a904b0f381fb (patch)
treec8bc99c64be39bf440a43135d8ac94db56e6f281 /lisp/progmodes/python.el
parentcf42b9fe8dade8da417f49bf0d13b85614eec076 (diff)
downloademacs-66081ad6f4dba44b64c809cde5f4a904b0f381fb.tar.gz
emacs-66081ad6f4dba44b64c809cde5f4a904b0f381fb.tar.bz2
emacs-66081ad6f4dba44b64c809cde5f4a904b0f381fb.zip
; python.el: Fix previous commit for Emacs<24.3 compatibility
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7d7122acccb..d442dae9f3b 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2105,6 +2105,10 @@ appends `python-shell-remote-exec-path' instead of `exec-path'."
;; Emacs<24.4 compat.
(list (tramp-get-remote-locale vec)))
(copy-sequence env)))
+ (tramp-end-of-heredoc
+ (if (boundp 'tramp-end-of-heredoc)
+ tramp-end-of-heredoc
+ (md5 tramp-end-of-output)))
unset vars item)
(while env
(setq item (tramp-compat-split-string (car env) "="))